diff options
author | peaceiris <[email protected]> | 2019-07-20 18:46:13 +0900 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2019-07-20 12:33:30 +0200 |
commit | 53da3881debbd5e2e325372d3d1ddd37bc9dc602 (patch) | |
tree | dff90f2e0950f3721a43686e6ff15048b037d66f /releaser | |
parent | ac101aba4fde02dc8273a3f06a3b4267ca501a3d (diff) | |
download | hugo-53da3881debbd5e2e325372d3d1ddd37bc9dc602.tar.gz hugo-53da3881debbd5e2e325372d3d1ddd37bc9dc602.zip |
releaser: Remove unused function
gitLog function is not used
Diffstat (limited to 'releaser')
-rw-r--r-- | releaser/git.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/releaser/git.go b/releaser/git.go index 9527b5113..69ba6268b 100644 --- a/releaser/git.go +++ b/releaser/git.go @@ -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 |