diff options
Diffstat (limited to 'commit.go')
| -rw-r--r-- | commit.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -230,7 +230,7 @@ func generateCommitPage(commit git.Commit, params Params) error { }) currentRef := params.DefaultRef - if commit.Branch != "" { + if !commit.Branch.IsEmpty() { currentRef = commit.Branch } |
