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

Re: current repository hash

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 17, 2008, 09:51 UTC
Message-ID
<alpine.DEB.1.00.0806171050440.6439@racer>
In-Reply-To
<556d90580806160451g36daefb6o48b93b92589211bf@mail.gmail.com>
Hi,
On Mon, 16 Jun 2008, Alf Clement wrote:
> I want to compile the current repository hash id into my program, to be 
> able to checkout later this id an see the exact files for the compile.

If this program is meant for source-distribution, you might be interested in the "export-subst" attribute. See Documentation/gitattributes.txt for details.

Ciao, Dscho

Previous: Jeff King
Message 9 of 9 in “current repository hash”
  1. Alf ClementJun 16, 2008
  2. David TweedJun 16, 2008
  3. Santi BéjarJun 16, 2008
  4. Alf ClementJun 16, 2008
  5. Jeff KingJun 16, 2008
  6. Alf ClementJun 17, 2008
  7. Johan HerlandJun 17, 2008
  8. Jeff KingJun 16, 2008
  9. Johannes SchindelinJun 17, 2008

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.