summaryrefslogtreecommitdiffstats
path: root/git_superproject.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_superproject.py')
-rw-r--r--git_superproject.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/git_superproject.py b/git_superproject.py
index b80f0130..fca0e6f7 100644
--- a/git_superproject.py
+++ b/git_superproject.py
@@ -69,9 +69,9 @@ class UpdateProjectsResult(NamedTuple):
69class Superproject: 69class Superproject:
70 """Get commit ids from superproject. 70 """Get commit ids from superproject.
71 71
72 Initializes a local copy of a superproject for the manifest. This allows 72 Initializes a bare local copy of a superproject for the manifest. This
73 lookup of commit ids for all projects. It contains _project_commit_ids which 73 allows lookup of commit ids for all projects. It contains
74 is a dictionary with project/commit id entries. 74 _project_commit_ids which is a dictionary with project/commit id entries.
75 """ 75 """
76 76
77 def __init__( 77 def __init__(
@@ -235,7 +235,8 @@ class Superproject:
235 p = GitCommand( 235 p = GitCommand(
236 None, 236 None,
237 cmd, 237 cmd,
238 cwd=self._work_git, 238 gitdir=self._work_git,
239 bare=True,
239 capture_stdout=True, 240 capture_stdout=True,
240 capture_stderr=True, 241 capture_stderr=True,
241 ) 242 )
@@ -271,7 +272,8 @@ class Superproject:
271 p = GitCommand( 272 p = GitCommand(
272 None, 273 None,
273 cmd, 274 cmd,
274 cwd=self._work_git, 275 gitdir=self._work_git,
276 bare=True,
275 capture_stdout=True, 277 capture_stdout=True,
276 capture_stderr=True, 278 capture_stderr=True,
277 ) 279 )