summaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-06-24 21:28:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-24 21:28:38 (GMT)
commit8af3c643d9c042d806a17fe706470a8c1acee231 (patch)
tree87438082732a3f76f36c1724fa5edaabb773b836 /strbuf.h
parentef9402366ccf4a04348024d51c0d3897f8b868c9 (diff)
parentfe9e2aefd4adac63821d0c007effcc8087e32ad6 (diff)
downloadgit-8af3c643d9c042d806a17fe706470a8c1acee231.zip
git-8af3c643d9c042d806a17fe706470a8c1acee231.tar.gz
git-8af3c643d9c042d806a17fe706470a8c1acee231.tar.bz2
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.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/strbuf.h b/strbuf.h
index 4559035..3646a62 100644
--- a/strbuf.h
+++ b/strbuf.h
@@ -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.