summaryrefslogtreecommitdiff
path: root/bisect.h
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2009-05-28 21:21:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-05-29 05:39:59 (GMT)
commite22278c0a0784d4285f0e3173794caad4e542658 (patch)
tree81574c477a379740d784e6fab3d10ddc7fb7f785 /bisect.h
parent7a8e3895f68e9ae4e44e521c78fc98768c2a88ec (diff)
downloadgit-e22278c0a0784d4285f0e3173794caad4e542658.zip
git-e22278c0a0784d4285f0e3173794caad4e542658.tar.gz
git-e22278c0a0784d4285f0e3173794caad4e542658.tar.bz2
bisect: display first bad commit without forking a new process
Previously "git diff-tree --pretty COMMIT" was run using "run_command_v_opt" to display information about the first bad commit. The goal of this patch is to avoid a "fork" and an "exec" call when displaying that information. To do that, we manually setup revision information as "git diff-tree --pretty" would do it, and then use the "log_tree_commit" function. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.h')
0 files changed, 0 insertions, 0 deletions