diff options
author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | 2008-07-25 12:41:22 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-25 17:18:06 -0700 |
commit | c0885435537e4b93709d2bf39ce36454186057a1 (patch) | |
tree | 7e8dbc44200a562b31baad57d7a55f09d52c35f1 /archive.h | |
parent | 6e94e6835f397cd2602ca1eb12002e51aa6b0500 (diff) | |
download | git-c0885435537e4b93709d2bf39ce36454186057a1.tar.gz git-c0885435537e4b93709d2bf39ce36454186057a1.tar.xz |
archive: move parameter parsing code to archive.c
write_archive() in archive.c is the only callsite for the command line
parsing functions located in builtin-archive.c. Move them to the place
where they are used, un-export them and make them static, as hinted at
by Stephan.
Cc: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.h')
-rw-r--r-- | archive.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -26,14 +26,6 @@ struct archiver { unsigned int flags; }; -extern int parse_archive_args(int argc, const char **argv, const struct archiver **ar, struct archiver_args *args); - -extern void parse_treeish_arg(const char **treeish, - struct archiver_args *ar_args, - const char *prefix); - -extern void parse_pathspec_arg(const char **pathspec, - struct archiver_args *args); /* * Archive-format specific backends. */ |