mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
releaser: Remove unused function
gitLog function is not used
This commit is contained in:
parent
ac101aba4f
commit
53da3881de
1 changed files with 0 additions and 4 deletions
|
@ -291,10 +291,6 @@ func gitVersionTagBefore(ref string) (string, error) {
|
|||
return gitShort("describe", "--tags", "--abbrev=0", "--always", "--match", "v[0-9]*", ref+"^")
|
||||
}
|
||||
|
||||
func gitLog() (string, error) {
|
||||
return gitLogBefore("HEAD", "", "")
|
||||
}
|
||||
|
||||
func gitShort(args ...string) (output string, err error) {
|
||||
output, err = git(args...)
|
||||
return strings.Replace(strings.Split(output, "\n")[0], "'", "", -1), err
|
||||
|
|
Loading…
Reference in a new issue