summaryrefslogtreecommitdiff
path: root/doc/bugs/Fails_to_add_files_with_a_newline_in_their_name___59____41__.mdwn
blob: f096a15328ce3c2c2f6a9aea07acacc63bb2e59b (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
### Please describe the problem.

I know that it is actually a problem with my script and that some might treat it as a feature ;)  but -- apparently I can have such filenames, git also manages to add it no problem (see below)

### What steps will reproduce the problem?


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

5.20141024~bpo70+1

### Please provide any additional information below.

[[!format sh """
# 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
$> cd 1000genomes/
total 352
  4 20131219.populations.tsv?         4 CHANGELOG?                    4 phase1/                           4 README.crams?              4 README.sequence_data?
  4 20131219.superpopulations.tsv?  124 changelog_details/            4 pilot_data/                       4 README.ebi_aspera_info?    4 release/
  4 alignment.index?                  0 complete_genomics_indices/    4 README.alignment_data?            4 README.ftp_structure?      4 sequence.index?
  4 alignment_indices/              128 data/                         4 README.analysis_history?          4 README.pilot_data?        16 sequence_indices/
  4 analysis.sequence.index?          4 exome.alignment.index?        4 README.complete_genomics_data?    4 README.populations?        4 technical/
(git)/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124:1000genomes[master]
#9 !5130 [0].....................................:Wed Nov 26 11:40:13:.
head2:/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124/1000genomes
$> git annex add  20131219.*
add 20131219.populations.tsv
 git-annex: unknown response from git cat-file ("HEAD:./20131219.populations.tsv missing","HEAD:./20131219.populations.tsv\n")
(git)/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124:1000genomes[master]
#10 !5131 [0].....................................:Wed Nov 26 11:40:36:.
head2:/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124/1000genomes
*$> git annex add  '20131219.populations.tsv
'
add 20131219.populations.tsv
 git-annex: unknown response from git cat-file ("HEAD:./20131219.populations.tsv missing","HEAD:./20131219.populations.tsv\n")
(git)/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124:1000genomes[master]
#11 !5132 [0].....................................:Wed Nov 26 11:41:07:.
head2:/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124/1000genomes
$> ls -ld '20131219.populations.tsv
'
4 -r-------- 2 yoh yoh 91 Nov 26 10:44 20131219.populations.tsv?
(git)/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124:1000genomes[master]
#12 !5133 [0].....................................:Wed Nov 26 11:41:15:.
head2:/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124/1000genomes
$> acpolicy git-annex
git-annex:
  Installed: 5.20141024~bpo70+1
  Candidate: 5.20141024~bpo70+1
  Version table:
 *** 5.20141024~bpo70+1 0
        100 http://debproxy/debian/ wheezy-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     3.20120629 0
        500 http://debproxy/debian/ wheezy/main amd64 Packages
(git)/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124:1000genomes[master]
#13 !5134 [0].....................................:Wed Nov 26 11:41:31:.
head2:/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124/1000genomes
*$> git add  '20131219.populations.tsv
'
(git)/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124:1000genomes[master]
#14 !5135 [0].....................................:Wed Nov 26 11:42:58:.
head2:/backup/users/yoh/tmp/nobackup_1000genome-ls.20141124/1000genomes
$> 


# End of transcript or log.
"""]]

> [[dup|done]] of
> [[git_annex_import_fails_on_filenames_with_newlines_in_them]] --[[Joey]]