Re: [PATCH] Do not ignore hidden refs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Petr Baudis <pasky@...>
Cc: <git@...>
Date: Saturday, November 18, 2006 - 3:27 am

Petr Baudis <pasky@suse.cz> writes:


I agree that different classes of heads and tags (not just
"public" vs "private") may come in handy in different workflows.

I think, however, if we (collectively as all the Porcelain
writers although I am not really one of them) are to support it,
they should not make distinction to the core, and it should be
handled with the agreed-upon convention.  In other words, if
".bar" were a valid refname to the core then I would agree that
not packing them had definitely been a bug.

And we already have one such convention of using refs/remotes
for tracking branches, which is promoted to become the default
(thus an official BCP).

Personally I established a convention to treat heads/??/* as
"private namespace" while using heads/* as public refs for my
own work (I do that for git.git as people know, and I do that
for my day job project as well).  I do not think it is a great
enough convention to be promoted as the official BCP, but it has
been good enough for me, especially commands like "show-branch"
and "tag -l" understands the shell-style filegrobs (e.g
"show-branch master heads/??/*" would show what's yet to be
polished and merged).



-
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] Do not ignore hidden refs, Petr Baudis, (Sat Nov 18, 12:11 am)
Re: [PATCH] Do not ignore hidden refs, Linus Torvalds, (Sat Nov 18, 1:35 pm)
Re: [PATCH] Do not ignore hidden refs, Junio C Hamano, (Sat Nov 18, 2:35 pm)
Re: [PATCH] Do not ignore hidden refs, Junio C Hamano, (Sat Nov 18, 12:39 am)
Re: [PATCH] Do not ignore hidden refs, Petr Baudis, (Sat Nov 18, 12:53 am)
Re: [PATCH] Do not ignore hidden refs, Junio C Hamano, (Sat Nov 18, 3:27 am)
Re: [PATCH] Do not ignore hidden refs, Petr Baudis, (Sat Nov 18, 3:28 pm)
Re: [PATCH] Do not ignore hidden refs, Junio C Hamano, (Sat Nov 18, 3:50 pm)
Re: [PATCH] Do not ignore hidden refs, Junio C Hamano, (Sat Nov 18, 4:05 pm)
Re: [PATCH] Do not ignore hidden refs, Petr Baudis, (Sat Nov 18, 7:18 pm)
Re: [PATCH] Do not ignore hidden refs, Junio C Hamano, (Sat Nov 18, 8:29 pm)
Re: [PATCH] Do not ignore hidden refs, Petr Baudis, (Sat Nov 18, 8:48 pm)
Re: [PATCH] Do not ignore hidden refs, Petr Baudis, (Sat Nov 18, 3:55 pm)
Re: [PATCH] Do not ignore hidden refs, Shawn Pearce, (Sat Nov 18, 3:41 am)