Re: Issue with gitweb + tag + branch of the same name from master branch commit
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 21, 2009, 00:19 UTC
- Message-ID
- <7vmy5um32h.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1250811031.26147.42.camel@haakon2.linux-iscsi.org>
"Nicholas A. Bellinger" <nab@linux-iscsi.org> writes:
Show 6 quoted lines
> 22:33 < warthog9> not use the same name, I think what your doing is fine just the identical naming is whats > causing the problem > 22:33 < warthog9> like tag-lio-3.0 > 22:33 < nab> Ahhhhhh > 22:33 < warthog9> and branch: lio-3.0 > 22:34 < warthog9> since I think somewhere in git it's got two different orders of preference for tag vs. branch
I do not speak for gitweb but we typically favor tags over heads. The only place "branch name" take precedence is where the command expects to see a name of a branch, when it can also take any arbitrary object name, and changes behaviour. I.e. "git checkout X", when X is a branch name, checks out the branch so that the next commit advances the tip of that branch.