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

Re: [PATCH] GIT: Create tar archives of tree on the fly

From
Linus Torvalds <torvalds@osdl.org>
Date
Apr 29, 2005, 22:26 UTC
Message-ID
<Pine.LNX.4.58.0504291522250.18901@ppc970.osdl.org>
In-Reply-To
<20050426144222.GA12035@lsrfire.ath.cx>

Having just done the git-0.7.tar.gz file with git-tar-tree, I started wondering if there is some nice way to encode the commit version that got tarred up into the tar archive itself.

There are various obvious ways, like creating a fake zero-sized file called <base>/.git-version-<commit-id>, and maybe that's the right thing to do. But maybe the tar archive format (and no, I don't even want to know details) has some nice way to hide off a keyname even _without_ having to create a file.

Would people like to have such a file for later? Obviously there would be a need to suppress it with a command line flag if you don't want it (or have a cmd line flag to enable it in the first place), what do people think? Rene?

		Linus
Previous: Rene ScharfeNext: Rene Scharfe
Message 2 of 4 in “GIT: Create tar archives of tree on the fly”
  1. GIT: Create tar archives of tree on the flyRene Scharfe, Apr 26, 2005
  2. Linus TorvaldsApr 29, 2005
  3. Rene ScharfeApr 30, 2005
  4. Rene ScharfeApr 30, 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.