]> dgit.raspbian.org Git - git-annex.git/blob
340d3e351c0187336d43cedafc1b21d824ffd992
[git-annex.git] /
1 [[!comment format=mdwn
2  username="t.z.mates"
3  avatar="http://cdn.libravatar.org/avatar/90f15fad216078fd08d62cc676487925"
4  subject="comment 5"
5  date="2017-01-08T06:43:48Z"
6  content="""
7 So, I've done a bit more investigating, and it seems the specific command that causes the error is
8
9     git --git-dir=../../../../.git --work-tree=../../../.. --literal-pathspecs ls-files --modified -- foo
10 In particular, if I execute the code:
11
12     git init
13     git annex init --version=6
14     mkdir -p 1/2/3/4
15     touch 1/2/3/4/foo
16     git annex add 1/2/3/4/foo
17     git annex sync
18     git annex unlock 1/2/3/4/foo
19     echo \"bar\" >> 1/2/3/4/foo
20     cd 1/2/3/4
21     git --git-dir=../../../../.git --work-tree=../../../.. --literal-pathspecs ls-files --modified -- foo
22 I get the above mentioned error. However, if I run the exact same code without any of the \"git annex\" commands (i.e. only initializing a standard git repository), the ls-files commands returns without error.
23
24 I'm not sure what to make of this though; it doesn't seem to be any sort of corrupted log or bad config options (I ran the same commands on a different, working computer, copied the .git directory to the non-working computer, and still couldn't run the ls-files command). I'm rather at a loss of what to check next.
25 """]]