From: David Levine Date: Sun, 23 Oct 2016 21:16:31 +0000 (-0400) Subject: Fixed output of commit hash by git log command. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/1a296f8dd3a81f722fca3423898d8c4c5e972c06?ds=inline Fixed output of commit hash by git log command. --- diff --git a/docs/contrib/build_nmh b/docs/contrib/build_nmh index fc558902..36fd8698 100755 --- a/docs/contrib/build_nmh +++ b/docs/contrib/build_nmh @@ -133,7 +133,7 @@ else git_opts="${git_opts:+$git_opts }--branch $branch" if "$gitdir"/git clone $git_opts "git://$gitrepo/nmh.git"; then cd nmh || die "failed to clone nmh" - git log --max-count=1 --pretty-format:%H + printf "commit %s\n" `git log --max-count=1 --pretty=format:%H` else die 'failed to clone git repo' fi