[PATCH v2] trailer: load config to handle core.commentChar

2016-04-28 Thread Rafal Klys
Fall throught git_default_config when reading config to update the comment_line_char from default '#' to possible different value set in core.commentChar. Signed-off-by: Rafal Klys --- Added fallthru instead of reading config third time. Added test, updated commit message. I eve

[PATCH] trailer: load config to handle core.commentChar

2016-04-27 Thread Rafal Klys
Add call to git_config(git_default_config, NULL) to update the comment_char_line from default '#' to possible different value set in core.commentChar. Signed-off-by: Rafal Klys --- trailer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trailer.c b/trailer.c index 8e48a5