git-fast-export and tags without a tagger
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Dec 18, 2008, 16:46 UTC
- Message-ID
- <20081218164614.GS5691@genesis.frugalware.org>
Hi,
Tags created with ancient versions of git have no tagger. The udev repo has such tags, for example:
$ git cat-file tag 4ea98ca6db3b84f5bc16eac8574e5c209ec823ce object face198a5f21027fefe796dc01e19e349a2d36ce type commit tag 062
fast-export will fail on these repos. From IRC:
20:05 < Keybuk> vmiklos: exactly the same error with 1.6.0.5 20:07 < Keybuk> $ git fast-export --signed-tag=strip --all 20:07 < Keybuk> fatal: No tagger for tag 4ea98ca6db3b84f5bc16eac8574e5c209ec823ce
I think it would be nice to handle the situation better than just die().
What about a --force option that would fake the tagger in case the tag points to a commmit and use the commiter from there?
I'm willing to work on this, but I thought it's better to discuss the right solution for the problem first.
Thanks.