Re: [PATCH/RFC 3/3] upload-archive: use start_command instead of fork
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jul 7, 2011, 18:21 UTC
- Message-ID
- <4E15F90F.8090300@kdbg.org>
- In-Reply-To
- <1310038989-5724-4-git-send-email-kusmabite@gmail.com>
Am 07.07.2011 13:43, schrieb Erik Faye-Lund:
Show 7 quoted lines
> - if (!enter_repo(buf, 0))
> - die("'%s' does not appear to be a git repository", buf);
> -
> /* put received options in sent_argv[] */
> sent_argc = 1;
> - sent_argv[0] = "git-upload-archive";
> + sent_argv[0] = "archive";Is git-archive a valid replacement of enter_repo() followed by git-upload-archive?
-- Hannes