1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-18 15:04:49 +01:00
git/Documentation/technical
René Scharfe 9b864e730b add strbuf_expand_dict_cb(), a helper for simple cases
The new callback function strbuf_expand_dict_cb() can be used together
with strbuf_expand() if there is only a small number of placeholders
for static replacement texts.  It expects its dictionary as an array of
placeholder+value pairs as context parameter, terminated by an entry
with the placeholder member set to NULL.

The new helper is intended to aid converting the remaining calls of
interpolate().  strbuf_expand() is smaller, more flexible and can be
used to go faster than interpolate(), so it should replace the latter.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-11-23 19:55:47 -08:00
..
.gitignore
api-allocation-growing.txt
api-builtin.txt api-builtin.txt: update and fix typo 2008-06-22 18:14:17 -07:00
api-decorate.txt
api-diff.txt
api-directory-listing.txt
api-gitattributes.txt
api-grep.txt
api-hash.txt
api-history-graph.txt log --graph --left-right: show left/right information in place of '*' 2008-05-25 12:06:52 -07:00
api-in-core-index.txt
api-index-skel.txt
api-index.sh
api-lockfile.txt
api-object-access.txt
api-parse-options.txt api-parse-options.txt: Introduce documentation for parse options API 2008-06-22 18:14:58 -07:00
api-quote.txt
api-remote.txt
api-revision-walking.txt Revision walking documentation: document most important functions 2008-05-31 14:32:56 -07:00
api-run-command.txt run-command.c: remove run_command_v_opt_cd() 2008-10-02 18:02:44 -07:00
api-setup.txt
api-strbuf.txt add strbuf_expand_dict_cb(), a helper for simple cases 2008-11-23 19:55:47 -08:00
api-string-list.txt Fix two leftovers from path_list->string_list 2008-07-22 15:28:22 -07:00
api-tree-walking.txt
api-xdiff-interface.txt
pack-format.txt Add description of OFS_DELTA to the pack format description 2008-04-06 17:22:46 -07:00
pack-heuristics.txt
pack-protocol.txt
racy-git.txt
send-pack-pipeline.txt
shallow.txt
trivial-merge.txt