summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-12-13 13:28:58 -0800
committerJunio C Hamano <gitster@pobox.com>2017-12-13 13:28:58 -0800
commit37cba00448388531f5ecf55ebf46c035765fd184 (patch)
tree693955555402ba4f8d8c89fa6e75db33a61614d3
parente6bf6afe27d9a600963e8733ce17e7b067a4701c (diff)
parent9881f21190dcf60bf7c151362e2fed00c3a32dc9 (diff)
downloadgit-37cba00448388531f5ecf55ebf46c035765fd184.tar.gz
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.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/strbuf.h b/strbuf.h
index 0a74acb236..14c8c10d66 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -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)) {