On Mon, 6 Apr 2009, AndreasWallner wrote:
> I tried to get Araxis Merge to work with msysgit, but I encountered a
> problem. I wasn't able to get the config file entry right...
>
> [merge]
> tool = araxis
> [mergetool "araxis"]
> cmd = "C:/Programme/Araxis/Araxis Merge/compare.exe" /wait /3 /a3 /
> title1:"local" /title2:"remote" /title3:"base" "$LOCAL" "$REMOTE"
> "$BASE" "$MERGED"
This is actually an entry in our issue tracker: "/bla:x" is munged by
MSys.
So you will have to use double slashes: "//wait". Or maybe Araxis Merge
is clever enough to adher to the standard in the rest of the world:
"-wait".
Hth,
Dscho
Adding "C:\Programme\Araxis" to your PATH environment variable and just
using araxis in the cmd should get you going. I was never able to find
the correct escapes for such a setup. Are there any?
cheers Heiko
On Tue, 7 Apr 2009, AndreasWallner wrote:
> On Apr 7, 2:48 pm, Johannes Schindelin <Johannes.Schinde...@gmx.de>
> wrote:
> > This is actually an entry in our issue tracker: "/bla:x" is munged by
> > MSys.
> >
> > So you will have to use double slashes: "//wait". Or maybe Araxis
> > Merge is clever enough to adher to the standard in the rest of the
> > world: "-wait".
>
> Thanks for the information, but as I wrote above, also the space in the
> path to the merge tool seems to be a problem... After creating a
> conflict and trying git mergetool, I get this output:
>
> Normal merge conflict for 'hello.txt':
> {local}: modified
> {remote}: modified
> Hit return to start merge resolution tool (araxis):
> C:\Programme\Git/libexec/git-core/git-mergetool: line 275: C:/
> Programme/Araxis/Araxis: No such file or directory
> merge of hello.txt failed
As a workaround, you can use the "shortnames" that you can see by
(cd /c/Programme/Araxis && cmd /c dir //x)
> I did change the slashes before trying this again.
>
> And my second question: As Araxis support (for 2 and 3 way merge)
> seems to be in git mergetool, why isn't it available on windows (Is
> there a problem, or is it just that nobody had time yet?)
Hmm...
$ git grep -i araxis git-mergetool.sh
just shows empty output in git.git proper. So where did you see it
supported?
Ciao,
Dscho
Who says this? I can run gvimdiff and kdiff3 for example from both
git-gui and git-mergetool under Windows.
> And...Is it possible to do a 2-way merge with a custom configured
> tool?
If you get conflicts after a merge, you want 3-way.
Or are looking at something like git-difftool, which is making its way
out of contrib/ at the moment?
Markus
I forgot to answer your question. Yes, of course it is possible. Just
don't pass $BASE to your custom merge tool.
Markus
On Wed, 8 Apr 2009, Myagi wrote:
> Not sure if this help or even if it is "correct", it's just some hack I
> did and it appeared to be working. (based on 1.6.1)
Could you repost this with a proper commit message? (Maybe after skimming
/git/Documentation/SubmittingPatches?)
> ----------------------
> --- a/git-mergetool.sh Sat Feb 28 03:08:08 2009 UTC
> +++ b/git-mergetool.sh Fri Jan 9 23:56:09 2009 UTC
> @@ -251,20 +251,6 @@
> fi
> status=$?
> ;;
> - araxis)
There are a lot of "-" lines that I do not have... Did you post the
reverse patch?
Ciao,
Dscho