Skip to content

Commit

Permalink
fix: use long git arg for quiet (#1325)
Browse files Browse the repository at this point in the history
  • Loading branch information
davewongillies committed Jan 31, 2020
1 parent a4c9110 commit 21df6b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/pipe/git/git.go
Expand Up @@ -114,11 +114,11 @@ func validate(ctx *context.Context) error {
}

func getShortCommit() (string, error) {
return git.Clean(git.Run("show", "--format='%h'", "HEAD", "-q"))
return git.Clean(git.Run("show", "--format='%h'", "HEAD", "--quiet"))
}

func getFullCommit() (string, error) {
return git.Clean(git.Run("show", "--format='%H'", "HEAD", "-q"))
return git.Clean(git.Run("show", "--format='%H'", "HEAD", "--quiet"))
}

func getTag() (string, error) {
Expand Down

0 comments on commit 21df6b8

Please sign in to comment.