Re: [PATCH v3] Support ent:relative_path

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Dana How <danahow@...>, Junio C Hamano <junkio@...>, Git Mailing List <git@...>
Date: Friday, May 4, 2007 - 11:30 pm

Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Double ACK.  I'm in complete agreement with every point Dscho has
made in this thread, even if I haven't quoted it.  ;-)

I *really* do not want to see "<tree-ish>:<path>" to mean include
the current prefix, *especially* when a bare repository is involved.

I often either do ad-hoc git-show lines against bare repositories,
or have scripts that depend on this existing absolute path behavior.
I'd like to see those not break.  ;-)

Since "." and ".." should not be valid names in any tree of a Git
repository I think we're OK to say that ":./" and ":../" are to
imply relative to current prefix.  But if we do ":../" then we also
have to do ":../../../../../../.." ;-)

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v3] Support ent:relative_path, Dana How, (Fri May 4, 8:47 pm)
Re: [PATCH v3] Support ent:relative_path, Johannes Schindelin, (Fri May 4, 9:29 pm)
Re: [PATCH v3] Support ent:relative_path, Junio C Hamano, (Fri May 4, 11:38 pm)
Re: [PATCH v3] Support ent:relative_path, Dana How, (Sat May 5, 2:46 am)
Re: [PATCH v3] Support ent:relative_path, Johannes Schindelin, (Sat May 5, 10:39 am)
Re: [PATCH v3] Support ent:relative_path, Junio C Hamano, (Sun May 6, 2:38 am)
Re: [PATCH v3] Support ent:relative_path, Johannes Schindelin, (Sun May 6, 11:14 am)
Re: [PATCH v3] Support ent:relative_path, Alex Riesen, (Sat May 5, 4:03 am)
Re: [PATCH v3] Support ent:relative_path, Shawn O. Pearce, (Fri May 4, 11:30 pm)
Re: [PATCH v3] Support ent:relative_path, Martin Waitz, (Sat May 5, 3:32 pm)
Re: [PATCH v3] Support ent:relative_path, Alex Riesen, (Sat May 5, 4:37 pm)
Re: [PATCH v3] Support ent:relative_path, Junio C Hamano, (Sat May 5, 4:17 pm)
Re: [PATCH v3] Support ent:relative_path, Martin Waitz, (Sat May 5, 5:18 pm)
Re: [PATCH v3] Support ent:relative_path, Johannes Schindelin, (Sat May 5, 8:59 pm)
Re: [PATCH v3] Support ent:relative_path, Martin Waitz, (Sun May 6, 2:52 pm)
Re: [PATCH v3] Support ent:relative_path, Johannes Schindelin, (Sun May 6, 7:09 pm)