Thread (24 messages) flat view 24 messages, 6 authors, 2016-06-15

Re: [PATCH 1/2] rev-parse: add --filename-prefix option

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:56:43

Hi,

John Keeping wrote:
This adds a prefix string to any filename arguments encountered after it
has been specified.
I assume this is a way of passing the prefix in?  In that case, I
think a good UI would be

	git rev-parse --prefix=Documentation/ <usual rev-parse args>

That sounds like a useful thing and would make the meaning very clear.

How does this interact with the following options?

 * --resolve-git-dir some/relative/path
 * master:./path

As for the patch itself, I haven't looked at it closely.  My only
immediate reaction is that I wish it touched Documentation/ and t/. :)

Hope that helps,
Jonathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help