diff options
author | mschiff <mschiff@web> | 2017-01-31 21:58:54 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2017-01-31 21:58:54 +0000 |
commit | a98941d3aa0b01345c0577ca680b50348cd87851 (patch) | |
tree | 46094e8c9d44a7962eb8254303ca9476354aa36c /doc/bugs | |
parent | afdc552baee9b19c09f8d78ad6c060b532d01590 (diff) |
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/git-annex_6.20161031_fails_with_filenames_containing_newlines.mdwn | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/doc/bugs/git-annex_6.20161031_fails_with_filenames_containing_newlines.mdwn b/doc/bugs/git-annex_6.20161031_fails_with_filenames_containing_newlines.mdwn new file mode 100644 index 000000000..839129e15 --- /dev/null +++ b/doc/bugs/git-annex_6.20161031_fails_with_filenames_containing_newlines.mdwn @@ -0,0 +1,43 @@ +### Please describe the problem. + +I tried to add a bunch of files and one of the files contained a newline in its name. +When doing 'git annex add .' it failed with an error that contained only the part of the filename before the newline. + +### What steps will reproduce the problem? + +Create a file with a newline in its name: + +~/tmp $ touch 'file with newline'$'\n''line 2'^C +~/tmp $ mkdir annex +~/tmp $ cd annex/ +~/tmp/annex $ git init +~/tmp/annex $ git annex init +init ok +(recording state in git...) +~/tmp/annex $ cp ../file* . +~/tmp/annex $ git annex add . +add file with newline +line 2 git-annex: unknown response from git cat-file ("HEAD:./file with newline missing",Ref "HEAD:./file with newline\nline 2") +~/tmp/annex $ + +### What version of git-annex are you using? On what operating system? + +6.20161031 on Gentoo Linux + + +### Please provide any additional information below. + +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. + +please see above + +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log + + +# End of transcript or log. +"""]] + +### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) + +I hope to have very soon ;-) |