diff options
Diffstat (limited to 'git-reset.sh')
-rwxr-xr-x | git-reset.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-reset.sh b/git-reset.sh index 91c7e6e664..bf2a0581fe 100755 --- a/git-reset.sh +++ b/git-reset.sh @@ -87,7 +87,7 @@ update_ref_status=$? case "$reset_type" in --hard ) test $update_ref_status = 0 && { - echo -n "HEAD is now at " + printf "HEAD is now at " GIT_PAGER= git log --max-count=1 --pretty=oneline \ --abbrev-commit HEAD } |