Re: [PATCH] import-tars: Allow per-tar author and commit message.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 25, 2009, 19:21 UTC
- Message-ID
- <7v8wh7pumr.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <alpine.DEB.2.00.0908251950010.19406@ds9.cixit.se>
Peter Krefting <peter@softwolves.pp.se> writes:
Show 12 quoted lines
> Junio C Hamano: > >> 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. > > Indeed. Not that it is likely that one have stray filetar.gz.msg files > just laying around, but I'll add a command line switch to enable the > new functinality. That sounds like the most reasonable way to go, > leaving the old usage completely unaffected by the change.
And the switch could be "--metainfo=<ext>", so that people can choose to use other extensions, e.g. with "--metainfo=info" file.tar.info would be read for descriptions.