diff --git a/doc/bugs/Fails_to_add_files_with_a_newline_in_their_name___59____41__.mdwn b/doc/bugs/Fails_to_add_files_with_a_newline_in_their_name___59____41__.mdwn new file mode 100644 index 0000000000..31a50980c4 --- /dev/null +++ b/doc/bugs/Fails_to_add_files_with_a_newline_in_their_name___59____41__.mdwn @@ -0,0 +1,68 @@ +### 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. +"""]]