Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Even when overwriting tags, report if they are changed or not.
[gitweb.git]
/
git-reset.sh
diff --git
a/git-reset.sh
b/git-reset.sh
index dfa9cb8bb17f6f8694d0c639fe8b1663f9ec3c8f..f9995cadf563a7b3b2c1dcdeea3bf862feac2e4b 100755
(executable)
--- a/
git-reset.sh
+++ b/
git-reset.sh
@@
-60,7
+60,7
@@
then
else
rm -f "$GIT_DIR/ORIG_HEAD"
fi
-
echo "$rev" >"$GIT_DIR/HEAD
"
+
git-update-ref HEAD "$rev
"
case "$reset_type" in
--hard )