From 0b404041c3d71821e8c6b34c530304ab6f31fce8 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 3 Feb 2009 09:15:49 +0000 Subject: Use fake email address in commit logs If the commits don't have an email address looking like a valid email address, then git-rebase (and possibly other git tools) will complain. Use the dummy devel@mandriva.com as the email address of the author of the patch --- git-repository--after-tarball | 2 +- git-repository--apply-patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/git-repository--after-tarball b/git-repository--after-tarball index bed3d04..47844d0 100755 --- a/git-repository--after-tarball +++ b/git-repository--after-tarball @@ -64,7 +64,7 @@ if [ ! -e .git ]; then fi git add . set_GIT_AUTHOR_DATE $tarballs -git commit -q -a --author="unknown <>" -m "imported $tarballs" +git commit -q -a --author="unknown author " -m "imported $tarballs" git branch -f vanilla git branch -f patches-applied git checkout patches-applied diff --git a/git-repository--apply-patch b/git-repository--apply-patch index a4bdf8b..1ad72fa 100755 --- a/git-repository--apply-patch +++ b/git-repository--apply-patch @@ -64,7 +64,7 @@ sub git_commit { my ($msg, $date) = @_; $ENV{GIT_AUTHOR_DATE} = $date; - open(my $F, '| git commit -q --author="unknown <>" --file=-'); + open(my $F, '| git commit -q --author="unknown author " --file=-'); print $F $msg; close $F or die "git commit failed\n"; } -- cgit v1.2.1