diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-11-07 01:23:32 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-11-07 01:23:32 (GMT) |
commit | 40ef91694655a3abb425d994a1b862f956ac081c (patch) | |
tree | 4ca56bcfea4b38378afbfaaf1238dade34ba5f33 /contrib/restrict.pl | |
parent | 0775c9fc10e1128334763f516342d6b312508ef5 (diff) | |
download | monitoring-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/restrict.pl')
0 files changed, 0 insertions, 0 deletions