shithub: hugo

Download patch

ref: 53da3881debbd5e2e325372d3d1ddd37bc9dc602
parent: ac101aba4fde02dc8273a3f06a3b4267ca501a3d
author: peaceiris <30958501+peaceiris@users.noreply.github.com>
date: Sat Jul 20 14:46:13 EDT 2019

releaser: Remove unused function

gitLog function is not used

--- a/releaser/git.go
+++ b/releaser/git.go
@@ -291,10 +291,6 @@
 	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