Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
092a8765
Commit
092a8765
authored
May 22, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the relative path when getting the git submodule commit
parent
fb16f0dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
git.py
hdlmake/fetch/git.py
+2
-1
No files found.
hdlmake/fetch/git.py
View file @
092a8765
...
...
@@ -106,7 +106,8 @@ class Git(Fetcher):
checkout_id
=
module
.
revision
logging
.
debug
(
"Git commit requested:
%
s"
,
checkout_id
)
else
:
checkout_id
=
self
.
get_submodule_commit
(
module
.
path
)
checkout_id
=
self
.
get_submodule_commit
(
path_utils
.
relpath
(
module
.
path
))
logging
.
debug
(
"Git submodule commit:
%
s"
,
checkout_id
)
if
checkout_id
is
not
None
:
logging
.
info
(
"Checking out version
%
s"
,
checkout_id
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment