This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Mailutils".
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=9312d1f8ffa0f2a9eb507ec132c4e00d333245b9 The branch, master has been updated via 9312d1f8ffa0f2a9eb507ec132c4e00d333245b9 (commit) from 1f9e808fa3e458c0331f3ef2b065fa70dcc46b25 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9312d1f8ffa0f2a9eb507ec132c4e00d333245b9 Author: Sergey Poznyakoff <g...@gnu.org.ua> Date: Tue Dec 17 08:16:02 2013 +0200 Minor fix in mh/inc * mh/inc.c (main): Update the unseen sequence only if some new messages were incorporated. ----------------------------------------------------------------------- Summary of changes: mh/inc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mh/inc.c b/mh/inc.c index a07ddd1..c25e447 100644 --- a/mh/inc.c +++ b/mh/inc.c @@ -366,7 +366,7 @@ main (int argc, char **argv) int f_truncate = 0; int f_changecur = 0; size_t lastseen; - char *unseen_seq; + const char *unseen_seq; /* Native Language Support */ MU_APP_INIT_NLS (); @@ -408,7 +408,7 @@ main (int argc, char **argv) mu_list_foreach (input_file_list, incmbx, &incdat); unseen_seq = mh_global_profile_get ("Unseen-Sequence", NULL); - if (unseen_seq) + if (unseen_seq && lastseen < incdat.lastmsg) { mu_msgset_t unseen; hooks/post-receive -- GNU Mailutils _______________________________________________ Commit-mailutils mailing list Commit-mailutils@gnu.org https://lists.gnu.org/mailman/listinfo/commit-mailutils