diff options
author | David Aguilar <davvid@gmail.com> | 2015-05-20 02:07:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-20 13:13:42 -0700 |
commit | 719518f5cebba0fb4ed6caf6d92d683e858120f0 (patch) | |
tree | 39eaef2c921384d056b0549a6e0296cee73495af /git-mergetool--lib.sh | |
parent | 3d4a3ffe64162b45ae7c991fc60623ecb4678cfd (diff) | |
download | git-719518f5cebba0fb4ed6caf6d92d683e858120f0.tar.gz |
mergetool--lib: set IFS for difftool and mergetool
git-sh-setup sets IFS but it is not used by git-difftool--helper.
Set IFS in git-mergetool--lib so that the mergetool scriptlets,
difftool, and mergetool do not need to do so.
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-mergetool--lib.sh')
-rw-r--r-- | git-mergetool--lib.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/git-mergetool--lib.sh b/git-mergetool--lib.sh index fe61e89f31..14b039de65 100644 --- a/git-mergetool--lib.sh +++ b/git-mergetool--lib.sh @@ -2,6 +2,9 @@ : ${MERGE_TOOLS_DIR=$(git --exec-path)/mergetools} +IFS=' +' + mode_ok () { if diff_mode then |