Re: [PATCH v2 2/2] submodule: drop the top-level requirement
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 9, 2013, 21:00 UTC
- Message-ID
- <7vobdnpgfv.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4a6394e9e7124c2ad5a3ce232dc746e85cb1c600.1365539059.git.john@keeping.me.uk>
John Keeping <john@keeping.me.uk> writes:
> + eval "set $(git rev-parse --sq --prefix "$wt_prefix" -- "$@")"
This may be handier than having to do the "for arg" loop git-am uses yourself.
Show 8 quoted lines
> ( > git ls-files --error-unmatch --stage -- "$@" || > echo "unmatched pathspec exists" > @@ -335,6 +339,8 @@ cmd_add() > usage > fi > > + sm_path="$wt_prefix$sm_path"
But this is doing fine without "rev-parse --prefix" at all.