This commit is contained in:
Joey Hess 2018-08-28 12:21:23 -04:00
parent 2b4a9a7cd8
commit ebdb17cda7
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 17 additions and 1 deletions

View file

@ -78,4 +78,4 @@ operating system: linux x86_64
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
[[!meta title="v6 git annex add -J crash due to index somehow getting locked"]]

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2018-08-28T16:16:03Z"
content="""
Does the .git/index.lock file still exist now that git-annex has exited?
Can you provide a log with --debug of the git-annex add command?
Can trim it to only the lines containing xargs.
I am pretty sure git-annex only runs one git add at a time, no matter how
many jobs you configure. It seems quite likely that some other git command
was operating in the repository at the same time and locked the index,
or like the error message says, git may have somehow crashed and left
the index.lock behind.
"""]]