summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d21f979)
raw | patch | inline | side by side (parent: d21f979)
author | Christian Couder <chriscool@tuxfamily.org> | |
Mon, 23 Nov 2009 04:16:14 +0000 (05:16 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 23 Nov 2009 06:59:05 +0000 (22:59 -0800) |
In commit ad3f9a7 (Add '--bisect' revision machinery argument) the
'--bisect' option was added to easily pass bisection refs to
commands using the revision machinery.
So it is now shorter and safer to use the new '--bisect' revision
machinery option, than to compute the refs that we must pass.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
'--bisect' option was added to easily pass bisection refs to
commands using the revision machinery.
So it is now shorter and safer to use the new '--bisect' revision
machinery option, than to compute the refs that we must pass.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-bisect.sh | patch | blob | history |
diff --git a/git-bisect.sh b/git-bisect.sh
index 8b3c5858a901619eecd162229f92eb431b3e63f9..a5ea843fbf9d8dca682fefe10bb91f3b3e6d30b3 100755 (executable)
--- a/git-bisect.sh
+++ b/git-bisect.sh
esac
fi
- not=$(git for-each-ref --format='%(refname)' "refs/bisect/good-*")
- eval '"$@"' refs/bisect/bad --not $not -- $(cat "$GIT_DIR/BISECT_NAMES")
+ eval '"$@"' --bisect -- $(cat "$GIT_DIR/BISECT_NAMES")
}
bisect_reset() {