diff options
-rw-r--r-- | git_superproject.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git_superproject.py b/git_superproject.py index a557879c..d7d3c1af 100644 --- a/git_superproject.py +++ b/git_superproject.py | |||
@@ -178,7 +178,8 @@ class Superproject: | |||
178 | if netloc := parsed_url.netloc: | 178 | if netloc := parsed_url.netloc: |
179 | parts = netloc.split("-review", 1) | 179 | parts = netloc.split("-review", 1) |
180 | host = parts[0] | 180 | host = parts[0] |
181 | return f"{host}/{self.name}" | 181 | rev = GitRefs(self._work_git).get("HEAD") |
182 | return f"{host}/{self.name}@{rev}" | ||
182 | return None | 183 | return None |
183 | 184 | ||
184 | def _LogMessage(self, fmt, *inputs): | 185 | def _LogMessage(self, fmt, *inputs): |