Brendan Miller <catphive@xxxxxxxxxxxx> writes: > On Sun, Sep 13, 2009 at 11:47 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote: >> John Tapsell <johnflux@xxxxxxxxx> writes: >> >>> Ah, the manpage examples specifically give the --format=tar though. >> >> So what? > > That looks like a manpage bug. In the version I have 1.6.4 the format > for archive is given like this: > > git archive --format=<fmt> [--list] [--prefix=<prefix>/] [<extra>] > [--output=<file>] [--worktree-attributes] > [--remote=<repo> [--exec=<git-upload-archive>]] <tree-i > sh> > [path...] > > So --format isn't marked as optional. Ahh, that would indeed be a documentation bug. 82d97da (Documentation: git-archive: mark --format as optional in summary, 2009-08-27) fixed it already, so upcoming 1.6.5 should have that fix. Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html