git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Erik Faye-LundNext: Erik Faye-Lund
Message 5 of 11 in “port upload-archive to windows”
  1. 0/3 port upload-archive to windowsErik Faye-Lund, Jul 7, 2011
  2. 1/3 compat/win32/sys/poll.c: upgrade from upstreamErik Faye-Lund, Jul 7, 2011
  3. 2/3 mingw: fix compilation of poll-emulationErik Faye-Lund, Jul 7, 2011
  4. 3/3 upload-archive: use start_command instead of forkErik Faye-Lund, Jul 7, 2011
  5. Johannes SixtJul 7, 2011
  6. Erik Faye-LundJul 7, 2011
  7. Jeff KingJul 7, 2011
  8. Erik Faye-LundJul 7, 2011
  9. Jeff KingJul 7, 2011
  10. Erik Faye-LundJul 7, 2011
  11. Jeff KingJul 7, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.