summaryrefslogtreecommitdiff
path: root/git-bisect-script
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-24 21:31:36 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-24 21:31:36 (GMT)
commitff84d327dfb8a9aa0634b0aaaca1c018cdc5117a (patch)
tree93b27df73edfff4d55a439200a728c26c1976cd2 /git-bisect-script
parent4866ccf0f434db118c4dcdeeab840eb4844d50a4 (diff)
downloadgit-ff84d327dfb8a9aa0634b0aaaca1c018cdc5117a.zip
git-ff84d327dfb8a9aa0634b0aaaca1c018cdc5117a.tar.gz
git-ff84d327dfb8a9aa0634b0aaaca1c018cdc5117a.tar.bz2
Audit rev-parse users again.
Some callers to rev-parse were using the output selection flags inconsistently. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-bisect-script')
-rwxr-xr-xgit-bisect-script4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-bisect-script b/git-bisect-script
index 29b25f4..0c5c107 100755
--- a/git-bisect-script
+++ b/git-bisect-script
@@ -58,7 +58,7 @@ bisect_start() {
bisect_bad() {
bisect_autostart
case "$#" in 0 | 1) ;; *) usage ;; esac
- rev=$(git-rev-parse --revs-only --verify --default HEAD "$@") || exit
+ rev=$(git-rev-parse --verify --default HEAD "$@") || exit
echo "$rev" > "$GIT_DIR/refs/bisect/bad"
bisect_auto_next
}
@@ -67,7 +67,7 @@ bisect_good() {
bisect_autostart
case "$#" in
0) revs=$(git-rev-parse --verify HEAD) || exit ;;
- *) revs=$(git-rev-parse --revs-only "$@") || exit ;;
+ *) revs=$(git-rev-parse --revs-only --no-flags "$@") || exit ;;
esac
for rev in $revs
do