[[!comment format=mdwn username="joey" subject="""comment 16""" date="2015-03-27T22:53:46Z" content=""" @badele, well, it doesn't ignore such a directory.
joey@darkstar:~/tmp/gitrepo>ls -ld subrepo/.git
drwxr-xr-x 7 joey joey 4096 Mar 27 18:52 subrepo/.git/
joey@darkstar:~/tmp/gitrepo>mkdir subrepo/dir
joey@darkstar:~/tmp/gitrepo>touch subrepo/dir/foo
joey@darkstar:~/tmp/gitrepo>git annex add subrepo/dir/foo
add subrepo/dir/foo ok
(recording state in git...)
git and git-annex have the same behavior here.. """]]