Mike Hommey <mh@glandium.org> writes:Looking at the two patches side-by-side makes me think your original from from February actually is much better. Why don't we apply your original, reproduced here for a quick round of comment? -- >8 -- From: Mike Hommey <mh@glandium.org> Subject: [PATCH] Use user.name and user.email in import-tars.perl Date: Sun, 24 Feb 2008 13:57:18 +0100 Mimic what is done in git-import.sh and git-import.perl Signed-off-by: Mike Hommey <mh@glandium.org> --- contrib/fast-import/import-tars.perl | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/fast-import/import-tars.perl b/contrib/fast-import/import-tars.perl index 23aeb25..39c091c 100755 --- a/contrib/fast-import/import-tars.perl +++ b/contrib/fast-import/import-tars.perl @@ -14,8 +14,10 @@ die "usage: import-tars *.tar.{gz,bz2,Z}\n" unless @ARGV; my $branch_name = 'import-tars'; my $branch_ref = "refs/heads/$branch_name"; -my $committer_name = 'T Ar Creator'; -my $committer_email = 'tar@example.com'; +chomp(my $committer_name = `git config user.name`); +chomp(my $committer_email = `git config user.email`); +die 'You need to set user name and email' + unless $committer_name && $committer_email; open(FI, '|-', 'git', 'fast-import', '--quiet') or die "Unable to start git fast-import: $!\n"; -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Michal Piotrowski | Re: 2.6.23-rc3-mm1 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Fred Tyler | Slow, persistent memory leak in 2.6.20 |
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Antonio Almeida | HTB accuracy for high speed |
