diff options
author | Shawn Bohrer <shawn.bohrer@gmail.com> | 2008-03-12 19:03:23 -0500 |
---|---|---|
committer | Simon Hausmann <simon@lst.de> | 2008-03-13 08:57:29 +0100 |
commit | 67abd417165d1e7716d947949f5e5e27318c8a29 (patch) | |
tree | 7966edc1df208b65c75ddce9f3302f1baf59b21c /sideband.h | |
parent | git-p4: Optimize the fetching of data from perforce. (diff) | |
download | tgif-67abd417165d1e7716d947949f5e5e27318c8a29.tar.xz |
git-p4: Unset P4DIFF environment variable when using 'p4 -du diff'
A custom diffing utility can be specified for the 'p4 diff' command by
setting the P4DIFF environment variable. However when using a custom
diffing utility such as 'vimdiff' passing options like -du can cause
unexpected behavior.
Since the goal is to generate a unified diff of the changes and attach
them to the bottom of the p4 submit log we should unset P4DIFF if it
has been set in order to generate the diff properly.
Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com>
Signed-off-by: Simon Hausmann <simon@lst.de>
Diffstat (limited to 'sideband.h')
0 files changed, 0 insertions, 0 deletions