diff --git a/utils/git-notify b/utils/git-notify index 8a478ca8..0b7d97d1 100755 --- a/utils/git-notify +++ b/utils/git-notify @@ -56,7 +56,7 @@ my $gitweb_url = git_config( "notify.baseurl" ); my $repos_name = git_config( "notify.repository" ) || get_repos_name(); # max size of diffs in bytes (can be changed with the -s option) -my $max_diff_size = git_config( "notify.maxdiff" ) || 10000; +my $max_diff_size = git_config( "notify.maxdiff" ) || 100000; # address for mail notices (can be set with -m option) my $commitlist_address = git_config( "notify.mail" ); @@ -65,7 +65,7 @@ my $commitlist_address = git_config( "notify.mail" ); my $cia_project_name = git_config( "notify.cia" ); # max number of individual notices before falling back to a single global notice (can be set with -n option) -my $max_individual_notices = git_config( "notify.maxnotices" ) || 100; +my $max_individual_notices = git_config( "notify.maxnotices" ) || 20; # branches to include my @include_list = split /\s+/, git_config( "notify.include" ) || ""; @@ -168,9 +168,9 @@ sub mail_notification($$$@) print "To: $name\n"; print "Subject: $subject\n"; print "Content-Type: $content_type\n"; - print "X-CVSinfo: CRANS\n"; print "X-DarcsInfo: CRANS-$repos_name\n"; print "X-GitInfo: CRANS-$repos_name\n"; + print "X-CVSInfo: GIT\n"; print "\n", join("\n", @text), "\n"; }