summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-05-23 15:50:06 -0700
committerJunio C Hamano <gitster@pobox.com>2024-05-23 16:04:28 -0700
commit84ed5055153ccfe5c38501e68ac58634001bbd9d (patch)
treecbfa5bd93fdadb6bc45a69e357fe732667c32573 /commit-graph.c
parentb9cfe4845cb2562584837bc0101c0ab76490a239 (diff)
show_log: factor out interdiff/range-diff generation
The integration of "git range-diff" with "git format-patch" for a single patch (i.e., not generating "range-diff" into the cover letter) hooks into log-tree.c:show_log(), which is responsible for writing the log message out and other stuff. Essentially, everything you see before the diffstat and the patch is generated there. Split out the code that spits out the interdiff/range-diff into a separate helper function show_diff_of_diff(). Hopefully this will make it easier to move things around in the output stream in the future patches. This is supposed to be a no-op refactoring. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions