From: teor Date: Tue, 31 Jul 2018 01:10:55 +0000 (+1000) Subject: Appveyor CI: Make short commits 10 hexdigits long X-Git-Tag: tor-0.3.5.1-alpha~174^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=861db8c4aef4b71648a6ec9acad35bff042d00f2;p=thirdparty%2Ftor.git Appveyor CI: Make short commits 10 hexdigits long That's what git does for tor. Part of 26979. --- diff --git a/scripts/test/appveyor-irc-notify.py b/scripts/test/appveyor-irc-notify.py index 297b02b158..fc2ead1647 100644 --- a/scripts/test/appveyor-irc-notify.py +++ b/scripts/test/appveyor-irc-notify.py @@ -25,6 +25,7 @@ # # Modified by teor in 2018: # - fix github provider detection ('gitHub' or 'gitHubEnterprise', apparently) +# - make short commits 10 hexdigits long (that's what git does for tor) # This program is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software Foundation; @@ -119,7 +120,7 @@ def appveyor_vars(): vars.update( build_url=BUILD_FMT.format(**vars), - short_commit=vars["repo_commit"][:7], + short_commit=vars["repo_commit"][:10], ) return vars