-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for git-mergetool #4
Comments
I have no idea. I will look into it though! Thanks for the heads up! |
@hkdobrev Did you set |
@auscompgeek I haven't. Forgot about that! Thanks for the tip! OK, so this works: git config --global mergetool.fac.cmd fac
git config --global merge.tool fac Now |
Tried Only one that comes to my mind is running |
A number of environment variables are set by You can pass any argument you like in the cmd setting, so there's definitely no need for pgrep hacks. |
From
So the configuration in [mergetool.fac]
cmd = fac $BASE $LOCAL $REMOTE An example from the "$merge_tool_path" "$LOCAL" "$REMOTE" -ancestor "$BASE" -merge "$MERGED" | cat I guess you can either specify arguments or command line options for these and include a simple shell file in the repo to run it. This way it would be a 2-line configuration to use |
Hi! Thanks for this great tool!
I've tried to configure it as a Git mergetool:
However, Git ignores it and it runs
vimdiff
for me. Previously, I hadopendiff
configured to start FileMerge and it works. I've also tried various different merge tools like sublimerge and I was expecting this to work tool.git-mergetool
command should start the tool with 3 arguments for each file with conflicts. I understandfac
is supposed to be run for the whole set of merge conflicts and not just single files. However, for starters, it could start for the whole set and ignore the arguments passed to it. Later it could automatically move to the file which was passed to it.Do you think there's a particular reason why
git-mergetool
would not startfac
with the above configuration? I've already checked thatfac
is in myPATH
.Thanks!
The text was updated successfully, but these errors were encountered: