From: Peter Krefting Date: Mon, 24 Aug 2009 17:07:09 GMT Subject: Re: [PATCH] import-tars: Allow per-tar author and commit message. Message-ID: 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/