aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/regression:_behavior_when_files_to_add_do_not_exist/comment_1_3e444d500071779bcbfbc781b4756daf._comment
blob: 6fc7f84db2d55415c2865426c753521b3acc3240 (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
[[!comment format=mdwn
 username="clacke"
 subject="Inconsistent between batches of files"
 date="2015-04-22T12:56:42Z"
 content="""
If you add enough files, annex gets past the first `(Recording state in git...)` and then breaks on only the last portion, so some files are added and some are only hashed:

[[!format sh \"\"\"
$ touch {10000..20240} 20242

$ git annex add {10000..20242}
[ . . . ]
add 20240 ok
(recording state in git...)
add 20242 ok
git-annex: 20241 not found

$ file 20240 20242 | sed -e 's/`.*//'
20240: symbolic link to 
20242: symbolic link to 

$ git status | tail -n 7
	new file:   20240

Untracked files:
  (use \"git add <file>...\" to include in what will be committed)

	20242
\"\"\"]]
"""]]