git commit mail script
Stephan Arts
stephan at xfce.org
Mon Jun 22 14:45:57 CEST 2009
On Mon, Jun 22, 2009 at 2:37 PM, Jannis Pohlmann<jannis at xfce.org> wrote:
> Hey,
>
> I have a commit mail script working. It's run at the update stage and
> sends
>
> - one mail per commit
> - one mail per newly created branch
> - one mail per created tag (git push --tags)
>
> this also means that if we merge two branches and don't use "git merge
> --squash <source branch>", we may up with a lot of commit mails for the
> merge destination branch. Not sure whether that's a good or bad thing.
> I mean, it sounds kinda logical to me.
>
> It also has another downside: It seems mails are sent with a
> granularity of one second. So if you send two mails in the same second,
> mail clients don't know in what order to display them. As a
> consequence, the script requires a 1s timeout between the individual
> mails.
And why do we care? Don't we have gitosis and git-log for
understanding the commit-order?
-
Stephan
More information about the Xfce4-dev
mailing list