diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-24 12:39:21 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-24 12:39:21 -0700 |
commit | 8144049d79f2678eb6cee7bb9070341e3fcfe282 (patch) | |
tree | 6b59c21966cc4cee2b42f89a8c7ace853697a8c8 /Documentation | |
parent | Improve the description of GIT_PS1_SHOWUPSTREAM (diff) | |
parent | fetch --all: pass --tags/--no-tags through to each remote (diff) | |
download | tgif-8144049d79f2678eb6cee7bb9070341e3fcfe282.tar.xz |
Merge branch 'dj/fetch-all-tags' into maint
"git fetch --all", when passed "--no-tags", did not honor the
"--no-tags" option while fetching from individual remotes (the same
issue existed with "--tags", but combination "--all --tags" makes
much less sense than "--all --no-tags").
* dj/fetch-all-tags:
fetch --all: pass --tags/--no-tags through to each remote
submodule: use argv_array instead of hand-building arrays
fetch: use argv_array instead of hand-building arrays
argv-array: fix bogus cast when freeing array
argv-array: add pop function
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/technical/api-argv-array.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/technical/api-argv-array.txt b/Documentation/technical/api-argv-array.txt index 1b7d8f140c..1a797812fb 100644 --- a/Documentation/technical/api-argv-array.txt +++ b/Documentation/technical/api-argv-array.txt @@ -46,6 +46,10 @@ Functions Format a string and push it onto the end of the array. This is a convenience wrapper combining `strbuf_addf` and `argv_array_push`. +`argv_array_pop`:: + Remove the final element from the array. If there are no + elements in the array, do nothing. + `argv_array_clear`:: Free all memory associated with the array and return it to the initial, empty state. |