aboutsummaryrefslogtreecommitdiffstats
path: root/git-repository--apply-patch
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-02-03 09:15:49 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-02-03 09:15:49 +0000
commit0b404041c3d71821e8c6b34c530304ab6f31fce8 (patch)
tree029cba31e74a30d54b447b391f8e5bda508549dc /git-repository--apply-patch
parent065d2cd2b65f5c195cdbbf902586ca6feea01394 (diff)
downloadrpm-setup-0b404041c3d71821e8c6b34c530304ab6f31fce8.tar
rpm-setup-0b404041c3d71821e8c6b34c530304ab6f31fce8.tar.gz
rpm-setup-0b404041c3d71821e8c6b34c530304ab6f31fce8.tar.bz2
rpm-setup-0b404041c3d71821e8c6b34c530304ab6f31fce8.tar.xz
rpm-setup-0b404041c3d71821e8c6b34c530304ab6f31fce8.zip
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
Diffstat (limited to 'git-repository--apply-patch')
-rwxr-xr-xgit-repository--apply-patch2
1 files changed, 1 insertions, 1 deletions
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 <cooker@mandrivalinux.org>" --file=-');
print $F $msg;
close $F or die "git commit failed\n";
}