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

2013-04-18 Thread Ramkumar Ramachandra
John Keeping wrote: This adds a prefix string to any filename arguments encountered after it has been specified. Very nice. I thought we'd have to resort to path mangling in shell to fix git-submodule.sh. Glad to see that we can go with something cleaner. Perhaps pull some bits from your

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

2013-04-18 Thread John Keeping
On Thu, Apr 18, 2013 at 07:58:25PM +0530, Ramkumar Ramachandra wrote: John Keeping wrote: This adds a prefix string to any filename arguments encountered after it has been specified. Very nice. I thought we'd have to resort to path mangling in shell to fix git-submodule.sh. Glad to see

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

2013-04-09 Thread Junio C Hamano
John Keeping j...@keeping.me.uk writes: This adds a prefix string to any filename arguments encountered after it has been specified. Signed-off-by: John Keeping j...@keeping.me.uk --- Stale subject? +--prefix arg:: + Behave as if 'git rev-parse' was invoked from the `arg` +

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

2013-04-09 Thread John Keeping
On Tue, Apr 09, 2013 at 01:57:21PM -0700, Junio C Hamano wrote: John Keeping j...@keeping.me.uk writes: This adds a prefix string to any filename arguments encountered after it has been specified. Signed-off-by: John Keeping j...@keeping.me.uk --- Stale subject? Yep. Sorry.

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

2013-04-09 Thread Junio C Hamano
John Keeping j...@keeping.me.uk writes: It's not guessing on all of $@ in git-submodule - we know that everything left is a path. OK, then. -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info at