summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorLibravatar Michael J Gruber <git@drmicha.warpmail.net>2010-12-14 10:18:35 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-16 13:01:36 -0800
commit4a689afb030c1cd5aa1c141db94bbf9dde42f05e (patch)
treee6cb1dd0c3149e47f6bc2187a51ade8057cdd35a /COPYING
parentgit-difftool.txt: correct the description of $BASE and describe $MERGED (diff)
downloadtgif-4a689afb030c1cd5aa1c141db94bbf9dde42f05e.tar.xz
difftool: provide basename to external tools
Currently, only configured diff helpers get the basename of the file being compared. Tools specified with "git difftool -x" only get the names of temporary files for the different versions. Export BASE so that an external tool can read the name from the environment. Rather than using a third argument, this avoids breaking existing scripts which may somewhat carelessly be using "$@" rather than "$1" "$2". Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions