This patch removes the left margin from the commit log emails so that the
included diff is a valid format for patch(1).
I originally posted this on -beta in response to a query by SteveY, so it's
probably time to propose this as a formal patch.
Malcolm
ChangeLog addition:
2005-11-08 Malcolm Purvis <malcolmp(a)xemacs.org>
* log_accum: Remove the margin from the patch in outgoing mail.
xemacs-CVSROOT source patch:
Diff command: cvs -q diff -u
Files affected: log_accum
Index: log_accum
===================================================================
RCS file: /pack/xemacscvs/CVSROOT/log_accum,v
retrieving revision 1.66
diff -u -r1.66 log_accum
--- log_accum 2005/03/20 17:51:45 1.66
+++ log_accum 2005/11/08 11:57:56
@@ -691,14 +691,14 @@
push(@text, &read_file("$CHANGED_FILE.$i.$id.$cvs_user",
"Modified:"));
push(@text, &read_file("$ADDED_FILE.$i.$id.$cvs_user",
"Added:"));
push(@text, &read_file("$REMOVED_FILE.$i.$id.$cvs_user",
"Removed:"));
- push(@text, " Log:");
- push(@text, &read_logfile("$LOG_FILE.$i.$id.$cvs_user", "
"));
+ push(@text, "Log:");
+ push(@text, &read_logfile("$LOG_FILE.$i.$id.$cvs_user",
""));
push(@mlist_list, &read_file_lines("$MLIST_FILE.$i.$id.$cvs_user"));
if ($rcsidinfo == 2) {
if (-e "$SUMMARY_FILE.$i.$id.$cvs_user") {
- push(@text, " ");
- push(@text, " Revision Changes Path");
- push(@text, &read_logfile("$SUMMARY_FILE.$i.$id.$cvs_user",
" "));
+ push(@text, "");
+ push(@text, "Revision Changes Path");
+ push(@text, &read_logfile("$SUMMARY_FILE.$i.$id.$cvs_user",
""));
}
}
push(@text, "");
--
Malcolm Purvis <malcolmp(a)xemacs.org>