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--apply-patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-repository--apply-patch') 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