author | Christian Couder <chriscool@tuxfamily.org> | |
Thu, 28 May 2009 21:21:16 +0000 (23:21 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 29 May 2009 05:39:59 +0000 (22:39 -0700) | ||
commit | e22278c0a0784d4285f0e3173794caad4e542658 | |
tree | 81574c477a379740d784e6fab3d10ddc7fb7f785 | tree | snapshot |
parent | 7a8e3895f68e9ae4e44e521c78fc98768c2a88ec | commit | diff |
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>
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>
bisect.c | diff | blob | history |