diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-12-13 13:28:58 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-13 13:28:58 -0800 |
commit | 37cba00448388531f5ecf55ebf46c035765fd184 (patch) | |
tree | 693955555402ba4f8d8c89fa6e75db33a61614d3 | |
parent | e6bf6afe27d9a600963e8733ce17e7b067a4701c (diff) | |
parent | 9881f21190dcf60bf7c151362e2fed00c3a32dc9 (diff) | |
download | git-37cba00448388531f5ecf55ebf46c035765fd184.tar.gz git-37cba00448388531f5ecf55ebf46c035765fd184.tar.xz |
Merge branch 'en/remove-stripspace'
An internal function that was left for backward compatibility has
been removed, as there is no remaining callers.
* en/remove-stripspace:
strbuf: remove unused stripspace function alias
-rw-r--r-- | strbuf.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -480,15 +480,6 @@ extern int strbuf_normalize_path(struct strbuf *sb); */ extern void strbuf_stripspace(struct strbuf *buf, int skip_comments); -/** - * Temporary alias until all topic branches have switched to use - * strbuf_stripspace directly. - */ -static inline void stripspace(struct strbuf *buf, int skip_comments) -{ - strbuf_stripspace(buf, skip_comments); -} - static inline int strbuf_strip_suffix(struct strbuf *sb, const char *suffix) { if (strip_suffix_mem(sb->buf, &sb->len, suffix)) { |