aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/git/commit.go
diff options
context:
space:
mode:
authorLanre Adelowo <adelowomailbox@gmail.com>2019-02-05 22:47:01 +0100
committerzeripath <art27@cantab.net>2019-02-05 21:47:01 +0000
commitc20034be31034f135f4e5f0a995ae82c318516c2 (patch)
tree124952a1b21db58526e9776c7393203b4f2b5305 /vendor/code.gitea.io/git/commit.go
parent2ec9bf9048b86092c3c31a150df75eae753df7c1 (diff)
downloadgitea-c20034be31034f135f4e5f0a995ae82c318516c2.tar.gz
gitea-c20034be31034f135f4e5f0a995ae82c318516c2.zip
Display the branch name in the commit view (#5950)
* add branch info * Remove blank lines * Remove blank lines * update git dependency
Diffstat (limited to 'vendor/code.gitea.io/git/commit.go')
-rw-r--r--vendor/code.gitea.io/git/commit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/code.gitea.io/git/commit.go b/vendor/code.gitea.io/git/commit.go
index 227df09b7d..36b8d54565 100644
--- a/vendor/code.gitea.io/git/commit.go
+++ b/vendor/code.gitea.io/git/commit.go
@@ -18,6 +18,7 @@ import (
// Commit represents a git commit.
type Commit struct {
+ Branch string // Branch this commit belongs to
Tree
ID SHA1 // The ID of this commit object
Author *Signature