This adds a prefix string to any filename arguments encountered after it
has been specified.
Signed-off-by: John Keeping
---
Documentation/git-rev-parse.txt | 16
builtin/rev-parse.c | 24 ---
t/t1513-rev-parse-prefix.sh | 90 +
John Keeping writes:
> This adds a prefix string to any filename arguments encountered after it
> has been specified.
>
> Signed-off-by: John Keeping
> ---
Stale subject?
> +--prefix ::
> + Behave as if 'git rev-parse' was invoked from the ``
> + subdirectory of the working tree. Any
On Tue, Apr 09, 2013 at 01:57:21PM -0700, Junio C Hamano wrote:
> John Keeping writes:
>
> > This adds a prefix string to any filename arguments encountered after it
> > has been specified.
> >
> > Signed-off-by: John Keeping
> > ---
>
> Stale subject?
Yep. Sorry.
> > +--prefix ::
> > + Be
John Keeping 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 http://vger.kernel.org/
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 ni
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
6 matches
Mail list logo