gitorious ignores everything but the last component of a branch path

3 views
Skip to first unread message

Samuel Bronson

unread,
Jul 2, 2008, 2:25:47 PM7/2/08
to Gitorious
Why is gitorious ignoring the directories that my branches are in?

Keeping in mind that I named my remote "svn", compare
http://gitorious.org/projects/coq/repos/mainline/logs/master with:

naesten@hydrogen:~/hacking/haskell/coq-git% git branch -r
svn/InternalExtraction
svn/ProofIrrelevance
svn/TypeClasses
svn/V7
svn/V7-3-bugfix
svn/V7-4-bugfix
svn/V8-0-bugfix
svn/bertot
svn/coq-diff-tool
svn/modules
svn/modules-2
svn/mowgli
svn/mowgli2
svn/proofs
svn/recdef
svn/recriture
svn/revised-theories
svn/tags/V7-0
svn/tags/V7-0beta
svn/tags/V7-0beta2
svn/tags/V7-0beta3-ocaml3-01
svn/tags/V7-0beta4
svn/tags/V7-1
svn/tags/V7-2
svn/tags/V7-3
svn/tags/V7-3-1
svn/tags/V7-4
svn/tags/V8-0
svn/tags/V8-0beta
svn/tags/V8-0cdrom
svn/tags/V8-0pl1
svn/tags/V8-0pl2
svn/tags/V8-0pl3
svn/tags/V8.0-APP
svn/tags/V8.0pl4
svn/tags/V8.1
svn/tags/V8.1-APP
svn/tags/V8.1beta
svn/tags/V8.1gamma
svn/tags/V8.1pl1
svn/tags/V8.1pl2
svn/tags/V8.1pl3
svn/tags/V8.1pre-beta
svn/tags/V8.2alpha
svn/tags/V8.2beta
svn/tags/V8.2beta2
svn/tags/V8.2beta3
svn/tags/before-modules
svn/tags/modules-2-before-grammar
svn/tags/modules-2-branching
svn/tags/modules-2-update
svn/tags/mowgli-before-merge
svn/tags/start
svn/tags/trunk
svn/trunk
svn/v8.1
svn/v8.2
naesten@hydrogen:~/hacking/haskell/coq-git%

Particularly worrisome are the cases where a branch name and a tag
name conflict...

(And yes, I am aware that coq is not written in Haskell nor is it a
dialect thereof, but I learned Haskell first...)

Johan Sørensen

unread,
Jul 3, 2008, 3:20:13 AM7/3/08
to gito...@googlegroups.com
Hi,

On Wed, Jul 2, 2008 at 8:25 PM, Samuel Bronson <nae...@gmail.com> wrote:
>
> Why is gitorious ignoring the directories that my branches are in?
>
> Keeping in mind that I named my remote "svn", compare
> http://gitorious.org/projects/coq/repos/mainline/logs/master with:
>
> naesten@hydrogen:~/hacking/haskell/coq-git% git branch -r
> svn/InternalExtraction
> svn/ProofIrrelevance
> svn/TypeClasses

[snip]

Looks like it escapes the slashes a bit too eagerly (as in, removing
everything before the last one), I'll roll out a fix today, thanks for
reporting it!

Cheers,
JS

Johan Sørensen

unread,
Jul 4, 2008, 4:00:53 AM7/4/08
to gito...@googlegroups.com
On Wed, Jul 2, 2008 at 8:25 PM, Samuel Bronson <nae...@gmail.com> wrote:
>
> Why is gitorious ignoring the directories that my branches are in?

This has been fixed, however that isn't actually your core issue, but
a missunderstanding around how remote vs. local branches work in git

> Keeping in mind that I named my remote "svn", compare
> http://gitorious.org/projects/coq/repos/mainline/logs/master with:
>
> naesten@hydrogen:~/hacking/haskell/coq-git% git branch -r
> svn/InternalExtraction
> svn/ProofIrrelevance
> svn/TypeClasses
> svn/V7
> svn/V7-3-bugfix
> svn/V7-4-bugfix

[snip]

Yes, but that's _your_ (local) remotes. The branches you have pushed
to gitorious isn't namespaced under svn/:

$ GIT_DIR="." git branch -a
InternalExtraction
ProofIrrelevance
TypeClasses
V7
V7-3-bugfix
V7-4-bugfix
V8-0-bugfix
bertot
coq-diff-tool
* master
modules
modules-2
mowgli
mowgli2
proofs
recdef
recriture
revised-theories
tags/V7-0
tags/V7-0beta
tags/V7-0beta2
tags/V7-0beta3-ocaml3-01
tags/V7-0beta4
tags/V7-1
tags/V7-2
tags/V7-3
tags/V7-3-1
tags/V7-4
tags/V8-0
tags/V8-0beta
tags/V8-0cdrom
tags/V8-0pl1
tags/V8-0pl2
tags/V8-0pl3
tags/V8.0-APP
tags/V8.0pl4
tags/V8.1
tags/V8.1-APP
tags/V8.1beta
tags/V8.1gamma
tags/V8.1pl1
tags/V8.1pl2
tags/V8.1pl3
tags/V8.1pre-beta
tags/V8.2alpha
tags/V8.2beta
tags/V8.2beta2
tags/V8.2beta3
tags/before-modules
tags/modules-2-before-grammar
tags/modules-2-branching
tags/modules-2-update
tags/mowgli-before-merge
tags/start
tags/trunk
trunk
v8.1
v8.2

Cheers,
JS

Reply all
Reply to author
Forward
0 new messages