summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-05-11 11:16:45 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-05-11 11:16:45 -0700
commit285005c8c405fb1ea2226cff06aa6ac1029b9db1 (patch)
tree3c8d996b50264478361f30043ea29f2e3df4f277 /Documentation
parentMerge branch 'ah/maint-grep-double-init' into maint (diff)
parentgc: use argv-array for sub-commands (diff)
downloadtgif-285005c8c405fb1ea2226cff06aa6ac1029b9db1.tar.xz
Merge branch 'jk/repack-no-explode-objects-from-old-pack' into maint
"git repack" used to write out unreachable objects as loose objects when repacking, even if such loose objects will immediately pruned due to its age. By Jeff King * jk/repack-no-explode-objects-from-old-pack: gc: use argv-array for sub-commands argv-array: add a new "pushl" method argv-array: refactor empty_argv initialization gc: do not explode objects which will be immediately pruned
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/technical/api-argv-array.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/technical/api-argv-array.txt b/Documentation/technical/api-argv-array.txt
index 49b3d52952..1b7d8f140c 100644
--- a/Documentation/technical/api-argv-array.txt
+++ b/Documentation/technical/api-argv-array.txt
@@ -37,6 +37,11 @@ Functions
`argv_array_push`::
Push a copy of a string onto the end of the array.
+`argv_array_pushl`::
+ Push a list of strings onto the end of the array. The arguments
+ should be a list of `const char *` strings, terminated by a NULL
+ argument.
+
`argv_array_pushf`::
Format a string and push it onto the end of the array. This is a
convenience wrapper combining `strbuf_addf` and `argv_array_push`.