--
--
You received this message because you are subscribed to the Google Groups "git-for-windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to git-for-windo...@googlegroups.com.
To post to this group, send email to git-for...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/git-for-windows/4EBBE9D227C84FF88850B27B04192910%40PhilipOakley.
For more options, visit https://groups.google.com/d/optout.
Link required: http://stackoverflow.com/a/15984079/717355 !
----- Original Message -----From: asmwarriorTo: git-for-windowsSent: Thursday, April 27, 2017 3:48 PMSubject: Re: [git-for-windows] How to launch tortoisegitmerge from git gui context menu?
Try a message box showing the command line just before the command invocation.You may find that some of the paths are in POSIX format,or have wrong way dir separators, or the colon (drive) isn't liked, or the drive letter needs capitalised, etc etc. (or even that it can't handle blank or empty paths "")The old ways are still effective ;-)Philip
set MERGED $current_diff_path set BASE "./$MERGED.BASE$fileext" set LOCAL "./$MERGED.LOCAL$fileext" set REMOTE "./$MERGED.REMOTE$fileext" set BACKUP "./$MERGED.BACKUP$fileext" To
set MERGED $current_diff_path set BASE "$MERGED.BASE$fileext" set LOCAL "$MERGED.LOCAL$fileext" set REMOTE "$MERGED.REMOTE$fileext" set BACKUP "$MERGED.BACKUP$fileext"
So, I have no idea how to tweak the paths. :-(
Thanks.
Asmwarrior
https://github.com/git-for-windows/git/issues/1014
From: asmwarriorTo: git-for-windowsSent: Friday, April 28, 2017 4:16 PMSubject: Re: [git-for-windows] How to launch tortoisegitmerge from git gui context menu?
--
You received this message because you are subscribed to the Google Groups "git-for-windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to git-for-windo...@googlegroups.com.
To post to this group, send email to git-for...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/git-for-windows/94ecaab3-97c3-e755-3903-1a98289db840%40gmail.com.
Ah, I think I may see it.Well done for the debugging and careful documenting of the response.What I see is in the TortoiseGit merge dialog windowWhere it shows the file it can't open as:'\"src\CodeBlocks_wx31.cbp.BASE.cbp\"' (then the colon and the other language encoded string)
In particular there is the very front part that prefixes the double quoted path string with the backslash dir separator.I am guessing that that prefix formation is very wrong and the dq should be the other side of the dir_sep char.Check whether the prefix is added by Git, or by TortoiseGit.
It may even be an attempt at backslash quoting in the tcl (different systems fighting over who gets to 'do the right thing'!).
I had a similar issue with a recent small patch to the gui for duplicate file entries in the resently used config variable. (it's one of the issues.. (https://public-inbox.org/git/20170122195301.17...@iee.org/https://github.com/git-for-windows/git/issues/1014Hope that helps
puts $xxx
{E:\Program Files\TortoiseGit\bin\TortoiseGitMerge.exe} -base:\"./src/CodeBlocks_wx31.cbp.BASE.cbp\" -mine:\"./src/CodeBlocks_wx31.cbp.LOCAL.cbp\" -theirs:\"./src/CodeBlocks_wx31.cbp.REMOTE.cbp\" -merged:\"src/CodeBlocks_wx31.cbp\"
"E:\Program Files\TortoiseGit\bin\TortoiseGitMerge.exe" -base:./src/CodeBlocks_wx31.cbp.BASE.cbp -mine:./src/CodeBlocks_wx31.cbp.LOCAL.cbp -theirs:./src/CodeBlocks_wx31.cbp.REMOTE.cbp -merged:src/CodeBlocks_wx31.cbp
\"
tortoisemerge {
#set cmdline [list "$merge_tool_path" -base:"$BASE" -mine:"$LOCAL" -theirs:"$REMOTE" -merged:"$MERGED"]
#Note: no quote around the $BASE like variables, because those cause escaped quote
#and it looks like TortoiseGitMerge does not support such formats.
set cmdline [list "$merge_tool_path" -base:$BASE -mine:$LOCAL -theirs:$REMOTE -merged:$MERGED]
}