diff options
author | Gary Gibbons <ggibbons@perforce.com> | 2012-07-04 09:40:19 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-05 23:23:28 -0700 |
commit | 84cb00036fb59cf0ff305dcc27551f0519b5098c (patch) | |
tree | 7664cd1b9d9f86ba65c8079d93b4da1f6721010b /diffcore-delta.c | |
parent | git p4 test: fix badp4dir test (diff) | |
download | tgif-84cb00036fb59cf0ff305dcc27551f0519b5098c.tar.xz |
git p4: refactor diffOpts calculation
P4Submit.applyCommit()
To avoid recalculating the same diffOpts for each commit, move it
out of applyCommit() and into the top-level run(). Also fix a bug
in that code which interpreted the value of detectRenames as a
string rather than as a boolean.
[pw: fix documentation, rearrange code a bit]
Signed-off-by: Gary Gibbons <ggibbons@perforce.com>
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-delta.c')
0 files changed, 0 insertions, 0 deletions