summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subcmds/init.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/subcmds/init.py b/subcmds/init.py
index 9a4f7118..9a9317e4 100644
--- a/subcmds/init.py
+++ b/subcmds/init.py
@@ -317,6 +317,10 @@ to update the working directory files.
317 317
318 def Execute(self, opt, args): 318 def Execute(self, opt, args):
319 git_require(MIN_GIT_VERSION, fail=True) 319 git_require(MIN_GIT_VERSION, fail=True)
320
321 if opt.reference:
322 opt.reference = os.path.expanduser(opt.reference)
323
320 self._SyncManifest(opt) 324 self._SyncManifest(opt)
321 self._LinkManifest(opt.manifest_name) 325 self._LinkManifest(opt.manifest_name)
322 326