git-annex/doc/bugs/problem_commit_normal_links.mdwn

58 lines
1,008 B
Text
Raw Normal View History

2011-01-09 13:16:53 +00:00
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
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
diokletian*195-> cd test
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
diokletian*196-> git init
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
Initialized empty Git repository in /home/henrus/test/.git/
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
diokletian*197-> git annex init new
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
init new [master (root-commit) 49f5f91] git-annex setup
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
1 files changed, 1 insertions(+), 0 deletions(-)
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
create mode 100644 .gitattributes
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
[master 76496ff] git annex init
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
1 files changed, 1 insertions(+), 0 deletions(-)
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
create mode 100644 .git-annex/uuid.log
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
ok
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
diokletian*198-> mkdir subdir
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
diokletian*199-> ln -s subdir link
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
diokletian*200-> git add link
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
diokletian*201-> git commit -m "ok"
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
[master f12f62d] ok
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
1 files changed, 1 insertions(+), 0 deletions(-)
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
create mode 120000 link
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
diokletian*202-> ln -s subdir/ link2
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
diokletian*203-> git add link2
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
diokletian*204-> git commit -m "not ok"
2011-01-09 13:17:59 +00:00
2011-01-09 13:16:53 +00:00
git-annex: Prelude.head: empty list
The trailing slash seems to make a difference!
Best Regards,
Henrik