Please describe the problem.

When adding a list of files, where some exist and some don't, annex claims to add some of the files until it encounters the first missing file. Then it bails out, leaving files hashed but not added.

What steps will reproduce the problem?

Create a file, ask annex to add the file and a non-existant file

Expected and historic behavior: annex adds the file

Actual behavior: annex hashes but does not add the file

What version of git-annex are you using? On what operating system?

git-annex version: 5.20150420-gb0ebb23 standalone linux amd64

Please provide any additional information below.

# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log

$ git annex version
git-annex version: 5.20150420-gb0ebb23
[ . . . ]

$ git init asdf
Initialized empty Git repository in /tmp/asdf/.git/

$ cd asdf

$ git annex init
init  ok
(recording state in git...)

$ touch asdf

$ git add asdf qwer
fatal: pathspec 'qwer' did not match any files

$ git annex add asdf qwer
add asdf ok
git-annex: qwer not found

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

$ git status
On branch master

Initial commit

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

    asdf

nothing added to commit but untracked files present (use "git add" to track)


# End of transcript or log.

Older version of git-annex:

$ git annex version
git-annex version: 5.20140412ubuntu1
[ . . . ]

$ git init asdf
Initialized empty Git repository in /tmp/asdf/.git/

$ cd asdf

$ git annex init asdf
init asdf ok
(Recording state in git...)

$ touch asdf

$ git annex add asdf qwer
add asdf ok
git-annex: qwer not found
(Recording state in git...)

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

$ git status
On branch master

Initial commit

Changes to be committed:
  (use "git rm --cached <file>..." to unstage)

    new file:   asdf

fixed --Joey