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

Re: Pushing and fetching sha1s directly

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 22, 2007, 23:12 UTC
Message-ID
<7vlk7mwchm.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20071222211308.GA27281@pvv.org>
Finn Arne Gangstad <finnag@pvv.org> writes:
> Currently there seems to be no way of pusing a sha1 directly, or to
> fetch a sha1 directly. When working with submodules, it is convenient
> to be able to work with detached HEADs, so it would be good if this
> could be supported also by fetch and push.

At least push of an arbitrary commit is already supported, I think.

For fetch, I would normally say "check the list archives", but it was very long time ago that it was proposed and discussed. It has some security and performance implications.

Previous: Finn Arne GangstadNext: Johannes Schindelin
Message 2 of 3 in “Pushing and fetching sha1s directly”
  1. Finn Arne GangstadDec 22, 2007
  2. Junio C HamanoDec 22, 2007
  3. Johannes SchindelinDec 23, 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.