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
Junio C Hamano <gitster@pobox.com>
Date
Aug 24, 2009, 18:54 UTC
Message-ID
<7vab1pf3fj.fsf@alter.siamese.dyndns.org>
In-Reply-To
<alpine.DEB.2.00.0908241659380.16576@perkele.intern.softwolves.pp.se>
Peter Krefting <peter@softwolves.pp.se> writes:
Show 16 quoted lines
> 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.
That sounds like a sensible thing to do.

I however am a bit uneasy to see that the patch didn't seem to (and the rerolled one does not seem to, either) allow any way to forbid reading of the .msg files, other than an obvious workaround of running "find | xargs rm" beforehand. Unlike your "import-directories" that is a brand new program without any existing users, you are touching code that other people have already used, and you do not want to change the behaviour for them only because they happen to have unrelated files in the same directory.

Previous: Peter KreftingNext: Peter Krefting
Message 5 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.