summaryrefslogtreecommitdiffstats
path: root/gl/getopt1.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2009-10-24 20:55:44 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2009-10-24 20:55:44 (GMT)
commitaf5e252846d08a579835e9b3bd0b004727252850 (patch)
tree76c6731a465f5a87697096f7e95a58861f136da3 /gl/getopt1.c
parenta6b329689782ddd22b4ecd52d0b375e0841ca682 (diff)
downloadmonitoring-plugins-af5e252846d08a579835e9b3bd0b004727252850.tar.gz
git-notify: Don't generate duplicate notifications
Never notify on a given commit more than once, even if it's referenced via multiple branch heads. We make sure this won't happen simply by maintaining a list of commits we notified about. The file path used for saving this list can be specified using the new "-t" option. (The contrib/hooks/post-receive-email script distributed with Git tries hard to avoid such a list, but it doesn't get the necessary magic right.)
Diffstat (limited to 'gl/getopt1.c')
0 files changed, 0 insertions, 0 deletions