From: Johannes Schindelin Date: Mon, 15 Jul 2013 19:09:29 +0000 (-0500) Subject: ReleaseNotes: mention the problem with -L/regex/ being misinterpreted X-Git-Url: https://repo.or.cz/w/msysgit.git/commitdiff_plain/599d40b55d015bbcc8402572c087844fa6d1a33d ReleaseNotes: mention the problem with -L/regex/ being misinterpreted Suggested by Pat Thoyts. Signed-off-by: Johannes Schindelin --- diff --git a/share/WinGit/ReleaseNotes.rtf b/share/WinGit/ReleaseNotes.rtf index bc090cff..3c8e93e4 100644 --- a/share/WinGit/ReleaseNotes.rtf +++ b/share/WinGit/ReleaseNotes.rtf @@ -20,6 +20,7 @@ See {\cf0{\field{\*\fldinst{HYPERLINK http://git-scm.com/ }}{\fldrslt{http://git {\pntext\f2\'B7\tab}The Quick Launch icon will only be installed for the user running setup (typically the Administrator). This is a technical restriction and will not change.\par {\pntext\f2\'B7\tab}curl uses $HOME/_netrc instead of $HOME/.netrc.\par {\pntext\f2\'B7\tab}If you want to specify a different location for --upload-pack, you have to start the absolute path with two slashes. Otherwise MSys will mangle the path.\par +{\pntext\f2\'B7\tab}Likewise, if you want to pass the \i -L/regex/\i0 option to \i git log\i0 , MSys will misinterpret it as an absolute path and mangle it into a DOS-style one. You can prevent that by putting a semicolon into the regular expression, e.g. \i git log -L/\\;*needle/\i0 .\par {\pntext\f2\'B7\tab}If configured to use Plink, you will have to connect with putty first and accept the host key.\par {\pntext\f2\'B7\tab}As merge tools are executed using the MSys bash, options starting with "/" need to be handled specially: MSys would interpret that as a POSIX path, so you need to double the slash (Issue 226). Example: instead of "/base", say "//base". Also, extra care has to be paid to pass Windows programs Windows paths, as they have no clue about MSys style POSIX paths -- You can use something like $(cmd //c echo "$POSIXPATH").\par