summaryrefslogtreecommitdiff
path: root/bisect.h
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2009-03-30 04:59:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-04-05 08:29:45 (GMT)
commite89aa6d2f546b2d4f2d88c15ce7e343751d6922f (patch)
treef387a8765ef8469baf6e047ca856bd428d20ff4f /bisect.h
parent37c4c38d7356bf256d0297fdbac78ef8b6807fac (diff)
downloadgit-e89aa6d2f546b2d4f2d88c15ce7e343751d6922f.zip
git-e89aa6d2f546b2d4f2d88c15ce7e343751d6922f.tar.gz
git-e89aa6d2f546b2d4f2d88c15ce7e343751d6922f.tar.bz2
bisect--helper: string output variables together with "&&"
When doing: eval "git bisect--helper --next-vars" | { while read line do echo "$line &&" done echo ':' } the result code comes from the last "echo ':'", not from running "git bisect--helper --next-vars". This patch gets rid of the need to string together the line from the output of "git bisect--helper" with "&&" in the calling script by making "git bisect--helper --next-vars" return output variables already in that format. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.h')
-rw-r--r--bisect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bisect.h b/bisect.h
index b9aa884..f5d1067 100644
--- a/bisect.h
+++ b/bisect.h
@@ -12,6 +12,7 @@ extern struct commit_list *filter_skipped(struct commit_list *list,
/* show_bisect_vars flags */
#define BISECT_SHOW_ALL (1<<0)
#define BISECT_SHOW_TRIED (1<<1)
+#define BISECT_SHOW_STRINGED (1<<2)
/*
* The flag BISECT_SHOW_ALL should not be set if this function is called