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.
This commit is contained in:
parent
927498a1e4
commit
1dcb86498e
4 changed files with 17 additions and 1 deletions
|
@ -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]]
|
||||
|
|
|
@ -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.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue