author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | |
Fri, 20 Mar 2009 09:57:50 +0000 (10:57 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 20 Mar 2009 16:33:28 +0000 (09:33 -0700) | ||
commit | 6872f606d9bc9a0ab0b3252bd4175af7732b6135 | |
tree | 58c22e9bb821d6020497b6d2c9268e8fbf8803ee | tree | snapshot |
parent | 6066f5ae75ec0feea7745e19e06b95d991d82665 | commit | diff |
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>
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 | diff | blob | history |