Re: [PATCH] grep: --full-tree

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] grep: --full-tree

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:46

Johannes Schindelin [off-list ref] writes:
This would break spectacularly in MSys.
How?  If that is the case wouldn't --full-tree break Msys the same way?

Re: [PATCH] grep: --full-tree

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:47:46

Hi,

On Wed, 25 Nov 2009, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
This would break spectacularly in MSys.
How?  If that is the case wouldn't --full-tree break Msys the same way?
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).

But this introduces yet another inconcistency: using double slashes 
everywhere else does not work.

Hopefully you see the real reason why it breaks down?  The reason is that 
you try to re-interpret something in a special way that means something 
different.  A path starting with a slash simply does not mean "the root of 
the project".  It means "the root of the file system".

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help