aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-01-06 06:04:18 -0500
committerJunio C Hamano <gitster@pobox.com>2023-01-06 21:50:07 +0900
commitde8f14e1c01451e751da80fb6309bf4a371b5b2b (patch)
tree6deedb7a8ab13e68363ccdb9d680e266397f9639 /builtin/commit-tree.c
parentdiff: use filespec path to set up tempfiles for ext-diff (diff)
downloadgit-de8f14e1c01451e751da80fb6309bf4a371b5b2b.tar.gz
git-de8f14e1c01451e751da80fb6309bf4a371b5b2b.zip
diff: clean up external-diff argv setup
Since the previous commit, setting up the tempfile for an external diff uses df->path from the diff_filespec, rather than the logical name. This means add_external_diff_name() does not need to take a "name" parameter at all, and we can drop it. And that in turn lets us simplify the conditional for handling renames (when the "other" name is non-NULL). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions