Re: [PATCH] Support ent:relative_path

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <junkio@...>
Cc: Johannes Sixt <J.Sixt@...>, <git@...>
Date: Friday, May 4, 2007 - 3:31 pm

Hi,

On Fri, 4 May 2007, Junio C Hamano wrote:


No, it is relative to where I am _at the other end_. If I "cd /tmp", it 
still is relative to $HOME.

Now, what you want to do is changing the meaning of v1.5.1:Makefile, 
depending if you "cd Documentation/"ed or not.

For me, "v1.5.1:" means something similar to ssh: it is a distant 
revision. It is not a complete filesystem. I think of revisions as 
something more general than a directory, but less general than a 
filesystem. And thus, it makes perfect sense to me that "v1.5.1:Makefile" 
means the main Makefile, no matter where I am in the current repository.

Now, I agree that often you want to compare some file in the current 
directory to the corresponding file in a certain revision. That is why 
git-diff has a different idea, and indeed, a different notation, too.

Ciao,
Dscho

-
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:
Re: [PATCH] Support ent:relative_path, Junio C Hamano, (Fri May 4, 1:17 pm)
Re: [PATCH] Support ent:relative_path, Alex Riesen, (Fri May 4, 4:21 pm)
Re: [PATCH] Support ent:relative_path, Johannes Schindelin, (Fri May 4, 3:06 pm)
Re: [PATCH] Support ent:relative_path, Junio C Hamano, (Fri May 4, 3:22 pm)
Re: [PATCH] Support ent:relative_path, Johannes Schindelin, (Fri May 4, 3:31 pm)
Re: [PATCH] Support ent:relative_path, Junio C Hamano, (Fri May 4, 3:38 pm)
Re: [PATCH] Support ent:relative_path, Johannes Schindelin, (Fri May 4, 3:42 pm)
Re: [PATCH] Support ent:relative_path, Dana How, (Fri May 4, 2:23 pm)