summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-09-22 12:06:10 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-09-22 12:06:10 -0400
commitf4b80c574945be3aca60ec3e76d50b386b53f293 (patch)
tree5d49db185f62fa8f48a1d3d179656062c3fcba64 /doc
parentc70c8ea742236db777845088525da656574e4369 (diff)
Improve ~/.ssh/config modification code to not add trailing spaces to lines it cannot parse.
"Host\n" is a valid line, and actually gets parsed ok, but this also holds for other lines that it fails to parse for some reason.
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/git-annex_rewrites_.ssh__47__config.mdwn2
-rw-r--r--doc/bugs/git-annex_rewrites_.ssh__47__config/comment_5_4316aff6470006183e91004946387141._comment11
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/bugs/git-annex_rewrites_.ssh__47__config.mdwn b/doc/bugs/git-annex_rewrites_.ssh__47__config.mdwn
index e76e1870d..325a4c351 100644
--- a/doc/bugs/git-annex_rewrites_.ssh__47__config.mdwn
+++ b/doc/bugs/git-annex_rewrites_.ssh__47__config.mdwn
@@ -13,3 +13,5 @@ git-annex-5.20140717-8.fc24.x86_64
### 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)
Has worked wonders for syncing keepass files between devices; just now setting up assistant to do things automatically though :) .
+
+> [[fixed|done]] --[[Joey]]
diff --git a/doc/bugs/git-annex_rewrites_.ssh__47__config/comment_5_4316aff6470006183e91004946387141._comment b/doc/bugs/git-annex_rewrites_.ssh__47__config/comment_5_4316aff6470006183e91004946387141._comment
new file mode 100644
index 000000000..726397fcb
--- /dev/null
+++ b/doc/bugs/git-annex_rewrites_.ssh__47__config/comment_5_4316aff6470006183e91004946387141._comment
@@ -0,0 +1,11 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 5"""
+ date="2015-09-22T16:03:42Z"
+ content="""
+Well, it does seem legal to do that -- man page says a pattern can be 0 or
+more characters, and you have 0.
+
+I've put in a fix in the generator to avoid adding whitespace in this
+case.
+"""]]