From: Steven Penny Date: Sat, 19 May 2012 00:43:54 GMT Subject: Re: [PATCH 2/2] git-sh-setup: work around Cygwin path handling gotchas Message-ID: In-Reply-To: <7vehqib4kk.fsf@alter.siamese.dyndns.org> On Thu, May 17, 2012 at 9:34 PM, Junio C Hamano wrote: > And from Cygwin Git, your programs (like $EDITOR and hooks) will get POSIX > paths. It is your programs' responsibility to turn them into Windows > paths if/as necessary. I think this is correct. These program should be accepting Cygwin paths and are not for obvious reason, they exist outside the the Cygwin world. For now I will do something like this editor(){ cygpath -m "$1" | xargs notepad } export -f editor git config core.editor editor