Re: [PATCH v3] Support ent:relative_path
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 6, 2007, 15:14 UTC
- Message-ID
- <Pine.LNX.4.64.0705061653100.4015@racer.site>
- In-Reply-To
- <7vwszmfod8.fsf@assigned-by-dhcp.cox.net>
Hi,
On Sat, 5 May 2007, Junio C Hamano wrote:
Show 12 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > >> (a) In a bare repository, I believe > >> setup.c:setup_git_directory_gently() determines the prefix to be > >> NULL. This means my patch will see ALL paths as absolute, except > >> :../path which will result in an error. > > > > My point was that it feels inconsistent to take the current path into > > account in one case, but not in the other. > > I do not understand your reasoning. In a bare repository you cannot > even be in a subdirectory to begin with.
Exactly! That is my point. If you can do it in a working directory, but also with a bare repository, I find it highly confusing and inconsistent to have different meaning.
Ciao, Dscho