Skip to content

Commit

Permalink
feat: show current branch
Browse files Browse the repository at this point in the history
  • Loading branch information
João Pedro Magalhães committed Aug 22, 2022
1 parent 4ca55ce commit 791155a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Branch struct {
IsRemote bool
}

const FORMAT = `branch:%(refname:short)%(if)%(HEAD)%(then)[current]%(end)
const FORMAT = `branch:%(refname:short)%(if)%(HEAD)%(then)*%(end)
authorname:%(authorname)
committerdate:%(committerdate:relative)
`
Expand Down

0 comments on commit 791155a

Please sign in to comment.