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

Re: [PATCH] import-tars: Allow per-tar author and commit message.

From
Nanako Shiraishi <nanako3@lavabit.com>
Date
Aug 23, 2009, 21:24 UTC
Message-ID
<20090824062438.6117@nanako3.lavabit.com>
In-Reply-To
<20090823203640.B195D189B12@perkele>
Quoting Peter Krefting <peter@softwolves.pp.se>
Show 8 quoted lines
> Instead of having each imported tar ball's commit message be "Imported
> from filename.tar", optionally take a commit message from a file
> called "filename.tar.msg".
>
> Instead of having each commit have the same author and committer
> information, optionally read the committer information from a file
> called "filename.tar.committer" and author from a file called
> "filename.tar.author".
Instead of requiring the user to have millions of separate files, how about reading a single metainfo file that may look like this?
    [file "git-1.0.0.tar"]
	message = "Commit log message for the first revision"
	author = "A U Thor <au.thor@example.xz>"
    [file "git-1.0.1.tar"]
	message = "Commit log message for the first maintenance revision"
	author = "F I Xer <fi.xer@example.xz>"
and give the name of that metainfo file from the command line? The message may be awkward to put in the metainfo file itself, and it might be easier to refer to the name of a file that is outside the metainfo file itself, but the point is that doing so will both reduce the clutter in your folders, and will give people an option to avoid accidentally reading from random files in the same folder as the tar files that unfortunately have names that ends with the suffixes you randomly chose in this patch.
-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/
Previous: Peter KreftingNext: Sam Vilain
Message 2 of 8 in “import-tars: Allow per-tar author and commit message.”
  1. import-tars: Allow per-tar author and commit message.Peter Krefting, Aug 23, 2009
  2. Nanako ShiraishiAug 23, 2009
  3. Sam VilainAug 23, 2009
  4. Peter KreftingAug 24, 2009
  5. Junio C HamanoAug 24, 2009
  6. Peter KreftingAug 25, 2009
  7. Junio C HamanoAug 25, 2009
  8. Peter KreftingAug 26, 2009

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.