summaryrefslogtreecommitdiff
path: root/doc/bugs/problem_commit_normal_links.mdwn
blob: 6dbd41fb4e294ecf87d95d737056d4cd12f34366 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Dear All,

thank you for this wonderful tool!

I am having an issue when I try to commit a normal link

diokletian*194-> mkdir test

diokletian*195-> cd test

diokletian*196-> git init

Initialized empty Git repository in /home/henrus/test/.git/

diokletian*197-> git annex init new

init new [master (root-commit) 49f5f91] git-annex setup

 1 files changed, 1 insertions(+), 0 deletions(-)

 create mode 100644 .gitattributes

[master 76496ff] git annex init

 1 files changed, 1 insertions(+), 0 deletions(-)

 create mode 100644 .git-annex/uuid.log

ok

diokletian*198-> mkdir subdir

diokletian*199-> ln -s subdir link

diokletian*200-> git add link

diokletian*201-> git commit -m "ok"

[master f12f62d] ok

 1 files changed, 1 insertions(+), 0 deletions(-)

 create mode 120000 link

diokletian*202-> ln -s subdir/ link2

diokletian*203-> git add link2

diokletian*204-> git commit -m "not ok"

git-annex: Prelude.head: empty list

The trailing slash seems to make a difference!

Best Regards,

Henrik

> Thanks for the bug report. This is fixed in 0.17. --[[Joey]]  [[!tag done]]