From ae84bfc9e5f230c2b3bb542d69a94d0396a92b74 Mon Sep 17 00:00:00 2001 From: "butirsky@86ff3803c45a8a1e5fc253d2728ce493c8addf96" Date: Tue, 31 Jan 2017 18:30:00 +0000 Subject: [PATCH 1/4] Added a comment --- .../comment_6_f61a390f304e1f6d1e8c4a90cdfbd9b9._comment | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/forum/_illegal_control_characters_in_pairing_message__59___ignoring/comment_6_f61a390f304e1f6d1e8c4a90cdfbd9b9._comment diff --git a/doc/forum/_illegal_control_characters_in_pairing_message__59___ignoring/comment_6_f61a390f304e1f6d1e8c4a90cdfbd9b9._comment b/doc/forum/_illegal_control_characters_in_pairing_message__59___ignoring/comment_6_f61a390f304e1f6d1e8c4a90cdfbd9b9._comment new file mode 100644 index 0000000000..05cc831836 --- /dev/null +++ b/doc/forum/_illegal_control_characters_in_pairing_message__59___ignoring/comment_6_f61a390f304e1f6d1e8c4a90cdfbd9b9._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="butirsky@86ff3803c45a8a1e5fc253d2728ce493c8addf96" + nickname="butirsky" + avatar="http://cdn.libravatar.org/avatar/bf8e56c57b179935c6f52ebc4690c2bf" + subject="comment 6" + date="2017-01-31T18:30:00Z" + content=""" +@joey, in my case all the user/host names are actual, and they do not include bad characters obviously +"""]] From 3a6a96c1dbd13f94a13b28cee55d2d55bc403546 Mon Sep 17 00:00:00 2001 From: mschiff Date: Tue, 31 Jan 2017 21:58:54 +0000 Subject: [PATCH 2/4] --- ...ls_with_filenames_containing_newlines.mdwn | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 doc/bugs/git-annex_6.20161031_fails_with_filenames_containing_newlines.mdwn 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 0000000000..839129e15a --- /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 ;-) From be899558f91f2113a0c0172136ad35968ff3ef73 Mon Sep 17 00:00:00 2001 From: mschiff Date: Tue, 31 Jan 2017 22:00:58 +0000 Subject: [PATCH 3/4] --- ...ls_with_filenames_containing_newlines.mdwn | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 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 index 839129e15a..69c0bfd702 100644 --- 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 @@ -7,18 +7,18 @@ When doing 'git annex add .' it failed with an error that contained only the par 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 $ + ~/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? From 288a529d2a35113bf53ea79c9b599b8ab8bc9546 Mon Sep 17 00:00:00 2001 From: mschiff Date: Tue, 31 Jan 2017 22:01:31 +0000 Subject: [PATCH 4/4] --- ...nex_6.20161031_fails_with_filenames_containing_newlines.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index 69c0bfd702..dd2fd5dc17 100644 --- 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 @@ -7,7 +7,7 @@ When doing 'git annex add .' it failed with an error that contained only the par Create a file with a newline in its name: - ~/tmp $ touch 'file with newline'$'\n''line 2'^C + ~/tmp $ touch 'file with newline'$'\n''line 2' ~/tmp $ mkdir annex ~/tmp $ cd annex/ ~/tmp/annex $ git init