Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] plug memory leak in diff.c::diff_free_filepair()
[gitweb.git]
/
git-checkout-script
diff --git
a/git-checkout-script
b/git-checkout-script
index 7e70338c476cfcf9ad51ce5d2a1f8e7ee93d705d..a37740713ed747a18b7ee5415e41e5bd57834c48 100755
(executable)
--- a/
git-checkout-script
+++ b/
git-checkout-script
@@
-22,7
+22,7
@@
while [ "$#" != "0" ]; do
force=1
;;
*)
- rev=$(git-rev-parse --verify
--revs-only
"$arg^0") || exit
+ rev=$(git-rev-parse --verify "$arg^0") || exit
if [ -z "$rev" ]; then
echo "unknown flag $arg"
exit 1