summaryrefslogtreecommitdiffhomepage
path: root/releaser
diff options
context:
space:
mode:
authorpeaceiris <[email protected]>2019-07-20 18:46:13 +0900
committerBjørn Erik Pedersen <[email protected]>2019-07-20 12:33:30 +0200
commit53da3881debbd5e2e325372d3d1ddd37bc9dc602 (patch)
treedff90f2e0950f3721a43686e6ff15048b037d66f /releaser
parentac101aba4fde02dc8273a3f06a3b4267ca501a3d (diff)
downloadhugo-53da3881debbd5e2e325372d3d1ddd37bc9dc602.tar.gz
hugo-53da3881debbd5e2e325372d3d1ddd37bc9dc602.zip
releaser: Remove unused function
gitLog function is not used
Diffstat (limited to 'releaser')
-rw-r--r--releaser/git.go4
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