summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_import__58___ignored_names_fatal.mdwn
blob: 8981cadd8634f691cac265fd8f3c8dbd3396c793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
### 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.

[[!format sh """

    git-annex: user error (xargs ["-0","git","--git-dir=/media/jean/Elements/annex/.git","--work-tree=/media/jean/Elements/annex","add","--"] exited 123)
    failed
    (Recording state in git...)
    The following paths are ignored by one of your .gitignore files:
    work/performancemanagement/performancemanagement.zuml1156079052355.tmp
    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]]