diff options
author | Jeff King <peff@peff.net> | 2019-02-22 01:20:37 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-03-01 07:31:35 +0900 |
commit | 2008f29093ba46e513ca2af7f14f3b75faa7a358 (patch) | |
tree | 3230a01ff9985bc2538998d519590034f03b8639 /bundle.h | |
parent | Git 2.21 (diff) | |
download | tgif-2008f29093ba46e513ca2af7f14f3b75faa7a358.tar.xz |
bisect: use string arguments to feed internal diff-tree
Commit e22278c0a0 (bisect: display first bad commit without forking a
new process, 2009-05-28) converted our external call to diff-tree to
an internal use of the log_tree_commit(). But rather than individually
setting options in the rev_info struct (and explaining in comments how
they map to command-line options), we can just pass the command-line
options to setup_revisions().
This is shorter, easier to change, and less likely to break if
revision.c internals change.
Note that we unconditionally set the output format to "raw". The
conditional in the original code didn't actually do anything useful,
since nobody had an opportunity to set the format to anything.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bundle.h')
0 files changed, 0 insertions, 0 deletions