summaryrefslogtreecommitdiff
path: root/doc/bugs/Can__39__t_add_a_git_repo_to_git_annex:___34__Invalid_path_repo__47__.git__47__X__34___for_many_X/comment_16_befb4f82ba2d812766b57cec475b52b5._comment
blob: cfda4f65d5eee24d7fde4ad35f7a0b0ad9f8ba31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[[!comment format=mdwn
 username="joey"
 subject="""comment 16"""
 date="2015-03-27T22:53:46Z"
 content="""
@badele, well, it doesn't ignore such a directory.

<pre>
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...)
</pre>

git and git-annex have the same behavior here..
"""]]