Please describe the problem.

When I import files that include ignored files, it seems to confuse git-annex (see below).

This chunk repeats over and over, it looks like import gets stuck until I delete the ignored files.

Can't the ignored files just be ignored?

What steps will reproduce the problem?

git annex import ../some-tree-with-ignored-files

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

$ git annex version
git-annex version: 5.20140412ubuntu1
build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify DBus DesktopNotify XMPP DNS Feeds Quvi TDFA CryptoHash
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier hook external
local repository version: 5
supported repository version: 5
upgrade supported from repository versions: 0 1 2 4

Please provide any additional information below.

    git-annex: user error (xargs ["-0","git","--git-dir=/media/jean/Elements/annex/.git","--work-tree=/media/jean/Elements/annex","add","--"] exited 123)
    (Recording state in git...)
    The following paths are ignored by one of your .gitignore files:
    Use -f if you really want to add them.
    fatal: no files added

# End of transcript or log.

Made git-annex import check for gitignored files before moving them into the work tree. done --Joey