import-tars: separate author from committer
commit6872f606d9bc9a0ab0b3252bd4175af7732b6135
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 20 Mar 2009 09:57:50 +0000 (20 10:57 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Mar 2009 16:33:28 +0000 (20 09:33 -0700)
tree58c22e9bb821d6020497b6d2c9268e8fbf8803ee
parent6066f5ae75ec0feea7745e19e06b95d991d82665
import-tars: separate author from committer

The import-tars script is typically employed to (re)create the past
history of a project from stored tars. Although assigning authorship in
these cases can be a somewhat arbitrary process, it makes sense to set
the author to whoever created the tars in the first place (if it's
known), and (s)he can in general be different from the committer
(whoever is running the script).

Implement this by having separate author and committer data, making them
settable from the usual GIT_* environment variables.

Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/import-tars.perl