From: Johannes Schindelin Date: Sun, 18 Jan 2009 15:51:52 GMT Subject: Re: [PATCH 3/3] git-archive: add support for --submodules Message-ID: In-Reply-To: <1232275999-14852-4-git-send-email-hjemli@gmail.com> Hi, On Sun, 18 Jan 2009, Lars Hjemli wrote: > @@ -320,6 +323,7 @@ static int parse_archive_args(int argc, const char **argv, > args->base = base; > args->baselen = strlen(base); > > + set_traverse_gitlinks(submodules); As I said, this is a per-call thing. So you need to add that option to the archiver_args struct and use it in write_archive_entries(). Ciao, Dscho