From: Junio C Hamano Date: Thu, 18 Apr 2013 17:05:44 GMT Subject: Re: t6200: avoid path mangling issue on Windows Message-ID: <7v38un93br.fsf@alter.siamese.dyndns.org> In-Reply-To: <516F95D1.5070209@viscovery.net> Johannes Sixt writes: > From: Johannes Sixt > > MSYS bash interprets the slash in the argument core.commentchar="/" > as root directory and mangles it into a Windows style path. Use a > different core.commentchar to dodge the issue. > > Signed-off-by: Johannes Sixt > ... > - git -c core.commentchar="/" fmt-merge-msg --log=5 <.git/FETCH_HEAD >actual && > + git -c core.commentchar="x" fmt-merge-msg --log=5 <.git/FETCH_HEAD >actual && Sigh... Again? Are folks working on Msys bash aware that sometimes the users may want to say key=value on their command line without the value getting molested in any way and giving them some escape hatch would help them? Perhaps they have already decided that it is not feasible after thinking about the issue, in which case I do not have new ideas to offer. I'll apply the patch as-is, but this feels really painful to the users. Thanks.