diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-06-24 14:28:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-24 14:28:38 -0700 |
commit | 8af3c643d9c042d806a17fe706470a8c1acee231 (patch) | |
tree | 87438082732a3f76f36c1724fa5edaabb773b836 /strbuf.h | |
parent | ef9402366ccf4a04348024d51c0d3897f8b868c9 (diff) | |
parent | fe9e2aefd4adac63821d0c007effcc8087e32ad6 (diff) | |
download | git-8af3c643d9c042d806a17fe706470a8c1acee231.tar.gz |
Merge branch 'rs/pretty-add-again'
The pretty-format specifiers like '%h', '%t', etc. had an
optimization that no longer works correctly. In preparation/hope
of getting it correctly implemented, first discard the optimization
that is broken.
* rs/pretty-add-again:
pretty: recalculate duplicate short hashes
Diffstat (limited to 'strbuf.h')
-rw-r--r-- | strbuf.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -264,12 +264,6 @@ static inline void strbuf_addstr(struct strbuf *sb, const char *s) extern void strbuf_addbuf(struct strbuf *sb, const struct strbuf *sb2); /** - * Copy part of the buffer from a given position till a given length to the - * end of the buffer. - */ -extern void strbuf_adddup(struct strbuf *sb, size_t pos, size_t len); - -/** * This function can be used to expand a format string containing * placeholders. To that end, it parses the string and calls the specified * function for every percent sign found. |