Re: [PATCH] grep: --full-tree
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 26, 2009, 00:13 UTC
- Message-ID
- <7vzl6annwm.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <alpine.DEB.1.00.0911260059040.4985@pacific.mpi-cbg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> 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).