Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit473fc3a

Browse files
committed
forward reference for IndexFile
1 parent025fe17 commit473fc3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/index/fun.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def hook_path(name: str, git_dir: PathLike) -> str:
7272
returnosp.join(git_dir,'hooks',name)
7373

7474

75-
defrun_commit_hook(name:str,index:IndexFile,*args:str)->None:
75+
defrun_commit_hook(name:str,index:'IndexFile',*args:str)->None:
7676
"""Run the commit hook of the given name. Silently ignores hooks that do not exist.
7777
:param name: name of hook, like 'pre-commit'
7878
:param index: IndexFile instance

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp