summaryrefslogtreecommitdiff
path: root/argv-array.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-24 12:39:21 -0700
committerJunio C Hamano <gitster@pobox.com>2012-09-24 12:39:21 -0700
commit8144049d79f2678eb6cee7bb9070341e3fcfe282 (patch)
tree6b59c21966cc4cee2b42f89a8c7ace853697a8c8 /argv-array.h
parentf9db19214a15a1c384dd895ccda2a455824179cd (diff)
parent85566460897ee76555a7c90a951fe2d50272eb5e (diff)
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 'argv-array.h')
-rw-r--r--argv-array.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/argv-array.h b/argv-array.h
index b93a69c36c..f4b98660f8 100644
--- a/argv-array.h
+++ b/argv-array.h
@@ -16,6 +16,7 @@ void argv_array_push(struct argv_array *, const char *);
__attribute__((format (printf,2,3)))
void argv_array_pushf(struct argv_array *, const char *fmt, ...);
void argv_array_pushl(struct argv_array *, ...);
+void argv_array_pop(struct argv_array *);
void argv_array_clear(struct argv_array *);
#endif /* ARGV_ARRAY_H */