Merge branch 'dt/http-range'
[gitweb.git] / builtin / branch.c
index 01f9530822d9f4c060e2bcfa6d80b03618f526d9..b99a436ef36ecfcc70636741642fdcf07b5a5810 100644 (file)
@@ -592,7 +592,7 @@ static int edit_branch_description(const char *branch_name)
                strbuf_release(&buf);
                return -1;
        }
-       stripspace(&buf, 1);
+       strbuf_stripspace(&buf, 1);
 
        strbuf_addf(&name, "branch.%s.description", branch_name);
        status = git_config_set(name.buf, buf.len ? buf.buf : NULL);