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
Peter Krefting <peter@softwolves.pp.se>
Date
Aug 24, 2009, 17:07 UTC
Message-ID
<alpine.DEB.2.00.0908241659380.16576@perkele.intern.softwolves.pp.se>
In-Reply-To
<4A91B8BB.1030906@vilain.net>
Nanako Shiraishi:
> Instead of requiring the user to have millions of separate files, how 
> about reading a single metainfo file that may look like this?

The advantage of having one (or more) files per tarball is that I can use the shell's tab completion to make sure I spell the name of the archive correctly. And that it makes it a lot easier to parse.

Sam Vilain:
> Also I wonder if there isn't a nicer interface for users.  Why not allow
> the file to specify From:, Committer: etc as header lines

Good idea. My initial patch was simple, just using the .msg file to add a message. Then I needed to have a different author for one commit, so I added the .author file. Then came the changes that are in the current import-tars that separates author and committer, hence the .committer file. Somewhere along there it became a bit too complex.

Parsing the .msg file for (optional) committer and author info is probably better. I'll update the patch.

-- 
\\// Peter - http://www.softwolves.pp.se/
Previous: Sam VilainNext: Junio C Hamano
Message 4 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.