mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00:00
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
This commit is contained in:
commit
37cba00448
1 changed files with 0 additions and 9 deletions
9
strbuf.h
9
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)) {
|
||||
|
|
Loading…
Reference in a new issue