]> git.proxmox.com Git - libgit2.git/commit
Correctly quote config values while saving
authorSven Strickroth <email@cs-ware.de>
Thu, 7 Nov 2013 12:17:36 +0000 (13:17 +0100)
committerSven Strickroth <email@cs-ware.de>
Thu, 7 Nov 2013 12:31:25 +0000 (13:31 +0100)
commitfde93250320f97cd6cf93be1e4ab09fd330e001f
treef17e1601ea7847a8cb33685c973354c8a5eca1a8
parentb47949254ee5b7e5801fd3d1d80136bff5db938a
Correctly quote config values while saving

If the value contains a command (; or #) char or starts or ends with space it needs to be quoted.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
src/config_file.c