diff options
| author | Jeff King <peff@peff.net> | 2015-09-24 17:05:43 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2015-09-25 10:18:18 -0700 |
| commit | 399ad553ce87fca77a9bc5a0e734a361a9e8a5a3 (patch) | |
| tree | a095f0c903c94fba7a506970f91ce68d87b2fc05 /contrib/persistent-https | |
| parent | add git_path_buf helper function (diff) | |
| download | git-399ad553ce87fca77a9bc5a0e734a361a9e8a5a3.tar.gz git-399ad553ce87fca77a9bc5a0e734a361a9e8a5a3.zip | |
strbuf: make strbuf_complete_line more generic
The strbuf_complete_line function makes sure that a buffer
ends in a newline. But we may want to do this for any
character (e.g., "/" on the end of a path). Let's factor out
a generic version, and keep strbuf_complete_line as a thin
wrapper.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
