Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Platform-independent core collection
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Projects
Platform-independent core collection
Commits
224ece82
Commit
224ece82
authored
4 years ago
by
Tristan Gingold
Browse files
Options
Downloads
Patches
Plain Diff
gen_sourceid.py: fix a typo.
parent
0d76517c
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!13
Condition check for Divider value
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/gen_sourceid.py
+1
-1
1 addition, 1 deletion
tools/gen_sourceid.py
with
1 addition
and
1 deletion
tools/gen_sourceid.py
+
1
−
1
View file @
224ece82
...
...
@@ -11,7 +11,7 @@ with open("sourceid_{}_pkg.vhd".format(project), "w") as f:
[
"
git
"
,
"
log
"
,
"
-1
"
,
"
--format=%H
"
]).
decode
().
strip
()
sourceid
=
sourceid
[
0
:
32
]
except
:
commit
id
=
16
*
"
00
"
source
id
=
16
*
"
00
"
# Extract current tag + dirty indicator.
# It is not sure if the definition of dirty is stable across all git versions.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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