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

Re: Deprecate git-fetch-pack?

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 11, 2007, 00:48 UTC
Message-ID
<7v4pftip42.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<Pine.LNX.4.64.0711101752490.29952@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
Show 10 quoted lines
> Now that git-fetch is in C, built in, and doing the fetch-pack in the same 
> process, the normal usage patterns don't involve actually executing 
> git-fetch-pack. Can we deprecate it at this point, or it is plausibly 
> being used by scripts? As it is now, I'm not entirely confidant that the 
> tests in t5500 won't be fooled by git-fetch working even with 
> git-fetch-pack being broken in various ways, which should be fixed if we 
> want to keep it.
>
> We also might as well deprecate peek-remote now that it's a synonym for 
> ls-remote.

Especially because git-fetch is no longer as hackable as it used to be, and because people may still find special needs that can be hacked up with direct access to low level transports from the script more easily than going down to the C level, I'd rather wait and see for a cycle or two to decide. There is no strong reason to drop it, is there?

As to peek-remote, ls-remote over the native transport is a synonym so I do not think anybody doing the scripting would have problem doing s/peek-/ls-/ to their script, but again I do not see a heavy maintenance burden to keep the synonym, yet.

Previous: Daniel BarkalowNext: Ask Bjørn Hansen
Message 2 of 29 in “Deprecate git-fetch-pack?”
  1. Daniel BarkalowNov 10, 2007
  2. Junio C HamanoNov 11, 2007
  3. Ask Bjørn HansenNov 11, 2007
  4. Johannes SchindelinNov 11, 2007
  5. Junio C HamanoNov 11, 2007
  6. Theodore TsoNov 11, 2007
  7. Junio C HamanoNov 11, 2007
  8. Johannes SchindelinNov 11, 2007
  9. Theodore TsoNov 11, 2007
  10. Jakub NarebskiNov 12, 2007
  11. Jon LoeligerNov 12, 2007
  12. Johannes SchindelinNov 12, 2007
  13. Jon LoeligerNov 12, 2007
  14. Johannes SchindelinNov 12, 2007
  15. Jon LoeligerNov 12, 2007
  16. 1/2 Make the list of common commands more exclusiveTheodore Ts'o, Nov 12, 2007
  17. 2/2 Remove hint to use "git help -a"Theodore Ts'o, Nov 12, 2007
  18. Junio C HamanoNov 12, 2007
  19. Ping YinNov 12, 2007
  20. Theodore TsoNov 12, 2007
  21. Junio C HamanoNov 12, 2007
  22. Mike HommeyNov 12, 2007
  23. Johannes SchindelinNov 12, 2007
  24. Ask Bjørn HansenNov 12, 2007
  25. Andreas EricssonNov 12, 2007
  26. Theodore TsoNov 12, 2007
  27. Andreas EricssonNov 12, 2007
  28. Ask Bjørn HansenNov 12, 2007
  29. Mike HommeyNov 11, 2007

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.