Merge branch 'cw/strbuf-cleanup'
Move functions that are not about pure string manipulation out of strbuf.[ch] * cw/strbuf-cleanup: strbuf: remove global variable path: move related function to path object-name: move related functions to object-name credential-store: move related functions to credential-store file abspath: move related functions to abspath strbuf: clarify dependency strbuf: clarify API boundary
This commit is contained in:
@ -897,7 +897,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
|
||||
s->hints = 0;
|
||||
|
||||
if (clean_message_contents)
|
||||
strbuf_stripspace(&sb, 0);
|
||||
strbuf_stripspace(&sb, '\0');
|
||||
|
||||
if (signoff)
|
||||
append_signoff(&sb, ignore_non_trailer(sb.buf, sb.len), 0);
|
||||
|
Reference in New Issue
Block a user