File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2220,7 +2220,7 @@ def _UpdateHooks(self):
22202220 self ._InitHooks ()
22212221
22222222 def _InitHooks (self ):
2223- hooks = os .path .realpath (self ._gitdir_path ('hooks' ))
2223+ hooks = os .path .realpath (self ._objdir_path ('hooks' ))
22242224 if not os .path .exists (hooks ):
22252225 os .makedirs (hooks )
22262226 for stock_hook in _ProjectHooks ():
@@ -2406,8 +2406,8 @@ def _InitWorkTree(self, force_sync=False):
24062406 portable .rmtree (dotgit )
24072407 raise
24082408
2409- def _gitdir_path (self , path ):
2410- return os .path .realpath (os .path .join (self .gitdir , path ))
2409+ def _objdir_path (self , path ):
2410+ return os .path .realpath (os .path .join (self .objdir , path ))
24112411
24122412 def _revlist (self , * args , ** kw ):
24132413 a = []
You can’t perform that action at this time.
0 commit comments