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

Re: [PATCH][RFC] Add git-archive-tree

From
Junio C Hamano <junkio@cox.net>
Date
Sep 2, 2006, 21:19 UTC
Message-ID
<7v1wquynj5.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<44F982BD.1050509@lsrfire.ath.cx>
Rene Scharfe <rene.scharfe@lsrfire.ath.cx> writes:
> Does it make sense to change the wire protocol to simply send the
> command line options one by one?

Which wire protocol are you talking about? The one between upload-tar and local "tar-tree --remote"? I think that one was a tar-tree specific hack and we do not want to mimic it.

Your idea of making archiver neutral upload/download pair makes sense. The daemon can invoke upload-archive with a single parameter (the repository, "."), just like upload_tar() in "pu:daemon.c" does [*1*], and upload-archive talks with the other end to know which archiver to run with what paramter. We would probably want to use some sort of side-band mechanism so that we can do progress-bar as well.

*1* Unrelated side note.  I find myself typing "git less" quite
    often ;-)
	git less pu:daemon.c
    and get "no such command, dummy" response.  
    Yes, I know I could alias it to "-p cat-file -p".  I am just
    too lazy to do so.
-- 
VGER BF report: U 0.709954
Previous: Franck Bui-HuuNext: Rene Scharfe
Message 10 of 17 in “[RFC] Add git-archive-tree”
  1. [RFC] Add git-archive-treeRene Scharfe, Sep 2, 2006
  2. Add support for tgz archive formatRene Scharfe, Sep 2, 2006
  3. Rene ScharfeSep 2, 2006
  4. Franck Bui-HuuSep 2, 2006
  5. Rene ScharfeSep 4, 2006
  6. Junio C HamanoSep 4, 2006
  7. Rene ScharfeSep 4, 2006
  8. Junio C HamanoSep 4, 2006
  9. Franck Bui-HuuSep 5, 2006
  10. Junio C HamanoSep 2, 2006
  11. Rene ScharfeSep 2, 2006
  12. Franck Bui-HuuSep 2, 2006
  13. Rene ScharfeSep 2, 2006
  14. Junio C HamanoSep 2, 2006
  15. Rene ScharfeSep 6, 2006
  16. Junio C HamanoSep 6, 2006
  17. Rene ScharfeSep 17, 2006

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.