summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-02-13 19:49:42 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-02-13 19:49:42 +0800
commit5cc275b1defc56d54bec23d1a5740c3fadcff2b0 (patch)
tree77bbff1e221e5a3b60044ba4b33d55ba5a251d45 /modules
parent091f0637060f62b5a94e9594b062f56919c2192c (diff)
downloadgitea-5cc275b1defc56d54bec23d1a5740c3fadcff2b0.tar.gz
gitea-5cc275b1defc56d54bec23d1a5740c3fadcff2b0.zip
feat: add git version on admin panel. (#921)
Diffstat (limited to 'modules')
-rw-r--r--modules/setting/setting.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 747ddbf708..0e8d4a6483 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -354,6 +354,7 @@ var (
// Git settings
Git = struct {
+ Version string `ini:"-"`
DisableDiffHighlight bool
MaxGitDiffLines int
MaxGitDiffLineCharacters int