Re: [PATCH v3] Support ent:relative_path
- From
Martin Waitz <tali@admingilde.org>
- Date
- May 5, 2007, 21:18 UTC
- Message-ID
- <20070505211857.GE30511@admingilde.org>
- In-Reply-To
- <7vy7k3hvog.fsf@assigned-by-dhcp.cox.net>
hoi :)
On Sat, May 05, 2007 at 01:17:35PM -0700, Junio C Hamano wrote:
Show 6 quoted lines
> > we could also introduce "<tree-ish>/<path>" for absolute path entries. > > When you name the tree-ish with usual "branch name", where does > the branch name end and pathname start? What happens when there > is an ambiguity, and how costly to detect such an ambiguity to > begin with?
well, if you know that it starts with a tree-ish there is no ambiguity as there can't be any "a/b" tree-ish if there already is one named "a". But Alex is right, it can be confused with an relative path if e.g. git-log is used without "--".
But for submodules I'd really like the / syntax.
-- Martin Waitz