summaryrefslogtreecommitdiff
path: root/doc/bugs/Name_scheme_does_not_follow_git__39__s_rules.mdwn
blob: f90eb5ae3cac32f2bf68b29063e02e4d83d3b52c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
I can create an annex remote named 'test:/test'. git itself does not allow colons in names, though. The name scheme for an annex should be the same as for git repos themselves.

> What do you mean by "an annex remote"? git-annex uses the same
> remotes configuration as does git. If you put invalid
> stuff in .git/config it might handle it slightly different than 
> git, I don't know. Examples needed. --[[Joey]] 

>> What I mean is this:

    % cd 1
    % git init
    % git annex init "my:colon"
    % [...]
    % cd ../2
    % git init
    % git annex init "second"
    % git remote add "my:colon" ../1
    fatal: 'my:colon' is not a valid remote name

>> -- RichiH

>>> I see.. Git annex init does not specifiy a remote's name, it specifies
>>> an arbitrary human-readable description of the repository, which will
>>> be displayed when there is no configured remote corresponding to the
>>> repository. So this is not a bug unless some documentation of that is
>>> unclear. --[[Joey]]