Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
861db8c4
Unverified
Commit
861db8c4
authored
6 years ago
by
teor
Browse files
Options
Downloads
Patches
Plain Diff
Appveyor CI: Make short commits 10 hexdigits long
That's what git does for tor. Part of 26979.
parent
fc9f8c28
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/test/appveyor-irc-notify.py
+2
-1
2 additions, 1 deletion
scripts/test/appveyor-irc-notify.py
with
2 additions
and
1 deletion
scripts/test/appveyor-irc-notify.py
+
2
−
1
View file @
861db8c4
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment