update git Beyond Compare difftool from BC2 to BC3
This commit is contained in:
parent
30349fc349
commit
66e4597b85
14
bash_aliases
14
bash_aliases
@ -168,13 +168,13 @@ function git-config-joshs()
|
|||||||
git config --global alias.mktarxz '!function f { name="$1"; pos="$2"; if [ "$pos" == "" ]; then pos=HEAD; fi; git archive --prefix="$name"/ "$pos" | xz > ../"$name".tar.xz; }; f'
|
git config --global alias.mktarxz '!function f { name="$1"; pos="$2"; if [ "$pos" == "" ]; then pos=HEAD; fi; git archive --prefix="$name"/ "$pos" | xz > ../"$name".tar.xz; }; f'
|
||||||
git config --global push.default upstream
|
git config --global push.default upstream
|
||||||
if [ -e /bin/cygwin1.dll ]; then
|
if [ -e /bin/cygwin1.dll ]; then
|
||||||
git config --global alias.bcdiff 'difftool -y -t bc2'
|
git config --global alias.bcdiff 'difftool -y -t bc3'
|
||||||
git config --global alias.bcdiffc 'difftool -y -t bc2 --cached'
|
git config --global alias.bcdiffc 'difftool -y -t bc3 --cached'
|
||||||
git config --global difftool.bc2.cmd 'git_bc2diff "$LOCAL" "$REMOTE"'
|
git config --global difftool.bc3.cmd 'git_bc3diff "$LOCAL" "$REMOTE"'
|
||||||
git config --global alias.bcmerge 'mergetool -y -t bc2'
|
git config --global alias.bcmerge 'mergetool -y -t bc3'
|
||||||
git config --global mergetool.bc2.cmd \
|
git config --global mergetool.bc3.cmd \
|
||||||
'git_bc2merge "$LOCAL" "$REMOTE" "$MERGED"'
|
'git_bc3merge "$LOCAL" "$REMOTE" "$MERGED"'
|
||||||
git config --global mergetool.bc2.trustExitCode false
|
git config --global mergetool.bc3.trustExitCode false
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function git-config-local-personal()
|
function git-config-local-personal()
|
||||||
|
5
git_bc3diff
Executable file
5
git_bc3diff
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
path1=$(cygpath -w "$1")
|
||||||
|
path2=$(cygpath -w "$2")
|
||||||
|
'/cygdrive/c/Program Files (x86)/Beyond Compare 3/BComp.exe' "$path1" "$path2" /title1=Base /leftreadonly
|
6
git_bc3merge
Executable file
6
git_bc3merge
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
local=$(cygpath -w "$1")
|
||||||
|
remote=$(cygpath -w "$2")
|
||||||
|
merged=$(cygpath -w "$3")
|
||||||
|
'/cygdrive/c/Program Files (x86)/Beyond Compare 3/BComp.exe' "$local" "$remote" /title1=Local /title2=Remote /savetarget="$merged"
|
Loading…
x
Reference in New Issue
Block a user