Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix spurious compile error
[gitweb.git]
/
git-reset.sh
diff --git
a/git-reset.sh
b/git-reset.sh
index 91c7e6e664eeac0a130044d3d026ccbbfa00f3b3..bf2a0581fe0b0dd2c393dce6f31c8e9ad9f352c9 100755
(executable)
--- 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
}