threads / patch / 30583

patch, 2 partsRe: [PATCH 2/2] git-sh-setup: work around Cygwin path handling gotchas

Subject: Re: [PATCH 2/2] git-sh-setup: work around Cygwin path handling gotchas

## tl;dr

One message between May 21, 2012 and May 21, 2012. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Matt Seitz (matseitz)· May 21, 2012, 23:51 UTC · lore

"Junio C Hamano" <gitster@pobox.com> wrote in message news:<7vaa116ulx.fsf@alter.siamese.dyndns.org>...

> 
> If you _only_ allow editors that understands windows style paths, your
> patch may make sense, but doesn't it break editors that wants only
POSIX
> style paths?

The Cygwin Users' Guide says "Using native Win32 paths in Cygwin, while possible, is generally inadvisable."

http://cygwin.com/cygwin-ug-net/using.html#pathnames-win32

Is this similar to the problem of line ending (POSIX lf vs. Windows cr-lf)? Windows Notepad won't correctly display files with lf line endings, either. So maybe this should be a configuration option, as with line endings?

← back to recent threads