aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2018-07-31 11:10:55 +1000
committerteor <teor@torproject.org>2018-08-24 10:11:00 +1000
commitd8ce84aae4b3b070025bddeb5231147c19ace94d (patch)
treed17f71930c08fef9152c85a3333defe6783499e6 /scripts
parent73d46b76fd885a108674687cc211efd848641bfe (diff)
downloadtor-d8ce84aae4b3b070025bddeb5231147c19ace94d.tar.gz
tor-d8ce84aae4b3b070025bddeb5231147c19ace94d.zip
Appveyor CI: Make short commits 10 hexdigits long
That's what git does for tor. Part of 26979.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/test/appveyor-irc-notify.py3
1 files changed, 2 insertions, 1 deletions
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