summaryrefslogtreecommitdiffstats
path: root/contrib/check_smart.pl
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2009-11-07 01:23:32 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2009-11-07 01:23:32 (GMT)
commit40ef91694655a3abb425d994a1b862f956ac081c (patch)
tree4ca56bcfea4b38378afbfaaf1238dade34ba5f33 /contrib/check_smart.pl
parent0775c9fc10e1128334763f516342d6b312508ef5 (diff)
downloadmonitoring-plugins-40ef91694655a3abb425d994a1b862f956ac081c.tar.gz
git-notify: Make abbreviating Gitweb URLs optional
The SHA1 object name part of Gitweb URLs is now only shortened if the user requested this by specifying the new "-z" option (or by setting "notify.shortURLs"). While at it, also shorten the additional URL which references a diff in e-mail notifications which don't include that diff inline because its size exceeds the maximum number of bytes specified via "-s". Note that while the abbreviated SHA1 object names will be unique at push time, this cannot be guaranteed for the future, so the shortened URLs might break some day.
Diffstat (limited to 'contrib/check_smart.pl')
0 files changed, 0 insertions, 0 deletions