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

Re: [PATCH] symref support for import scripts

From
Junio C Hamano <junkio@cox.net>
Date
Nov 16, 2005, 20:26 UTC
Message-ID
<7v8xvo730d.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20051116195737.GE27727@kiste.smurf.noris.de>
Matthias Urlichs <smurf@smurf.noris.de> writes:
> The only thing we want to do with HEAD, in order to accomplish that,
> is to find the SHA1 it points to, before and after the import.
> No use of git-symbolic-ref is necessary for that.
True.  'git-rev-parse --verify HEAD^0' would be sufficient.
Previous: Matthias Urlichs
Message 4 of 4 in “symref support for import scripts”
  1. symref support for import scriptsPavel Roskin, Nov 16, 2005
  2. Junio C HamanoNov 16, 2005
  3. Matthias UrlichsNov 16, 2005
  4. Junio C HamanoNov 16, 2005

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.