Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>2022-11-10 19:36:45 +0300
committerTaylor Blau <me@ttaylorr.com>2022-11-12 01:06:01 +0300
commit0da4b538e40f38f2ee7adc625cac18ae0d8df4d1 (patch)
treed52e240eb799483d0093ab10e323b5292a4aa2d4 /git-bisect.sh
parentdf63421be927c689bbd9384d503768c0515063c4 (diff)
bisect--helper: log: allow arbitrary number of arguments
In a later change, we would like to turn bisect into a builtin by renaming bisect--helper. However, there's an oddity that "git bisect log" accepts any number of arguments and it will just ignore them all. Let's prepare for the next step by ignoring any arguments passed to "git bisect--helper log" Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'git-bisect.sh')
-rwxr-xr-xgit-bisect.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/git-bisect.sh b/git-bisect.sh
index 9f6c8cc093..f95b8103a9 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -57,8 +57,6 @@ case "$#" in
case "$cmd" in
help)
git bisect -h ;;
- log)
- git bisect--helper log || exit ;;
*)
git bisect--helper "$cmd" "$@" ;;
esac