From: Junio C Hamano Date: Thu, 26 Nov 2009 00:13:45 GMT Subject: Re: [PATCH] grep: --full-tree Message-ID: <7vzl6annwm.fsf@alter.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: > If you want to specify an argument on MSys that starts with a slash, you > have to provide double slashes, otherwise it gets expanded to the Windows > path (prefixing with the absolute path of the MSys root). How well does the command line hack handle things like $ git archive --output=/var/tmp/foo.tar I have to wonder. > Hopefully you see the real reason why it breaks down? Yes, Windows' braindamage. It doesn't invalidate anything I said so far, but only proves that emulation can go only so far. I hope msys port can grok real "path from root" notation on Windows, e.g. $ git diff --no-index "C:\My Documents/hello.txt" "D:\goodbye.txt" (or perhaps "//c/my documents/...", but I do not care about the details).