diff options
author | Junio C Hamano <junkio@cox.net> | 2005-07-22 19:09:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-22 20:34:16 -0700 |
commit | f6e1a4d6dc4d1b3d82d5e87fdd817b3994dda5e0 (patch) | |
tree | 1322ada9a1dfcd001370437948ad2d4c24b8508b /git-checkout-script | |
parent | a38e727925bfad369fc98165f6ff161193397f28 (diff) | |
download | git-f6e1a4d6dc4d1b3d82d5e87fdd817b3994dda5e0.tar.gz |
[PATCH] Audit rev-parse users.
This patch changes rev-parse users that pass a single argument
that is supposed to be a rev parameter to use "--verify".
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-checkout-script')
-rwxr-xr-x | git-checkout-script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-checkout-script b/git-checkout-script index 7e70338c47..a37740713e 100755 --- 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 |