commit | f3efe78782b36d68dc71a4f48a7bd3381c6b5669 | [log] [tgz] |
---|---|---|
author | Jeff King <peff@peff.net> | Sat Apr 19 15:22:25 2014 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Apr 21 10:32:19 2014 -0700 |
tree | d6420e252b46026fadefe777c95a7ebf6d175fed | |
parent | 0d4217d92e3043e23a8960519a51cc7a36ed8914 [diff] |
run_external_diff: refactor cmdline setup logic The current logic makes it hard to see what gets put onto the command line in which cases. Pulling out a helper function lets us see that we have two sets of file data, and the second set either uses the original name, or the "other" renamed/copy name. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>