| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c8b6cf0 commit bcc0c27
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,7 +88,7 @@ def run_commit_hook(name: str, index: "IndexFile", *args: str) -> None: | |||
| 88 | 88 | :param args: | |
| 89 | 89 | Arguments passed to hook file. | |
| 90 | 90 | ||
| 91 | - :raises HookExecutionError: | ||
| 91 | + :raise HookExecutionError: | ||
| 92 | 92 | """ | |
| 93 | 93 | hp = hook_path(name, index.repo.git_dir) | |
| 94 | 94 | if not os.access(hp, os.X_OK): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -784,7 +784,7 @@ def merge_base(self, *rev: TBD, **kwargs: Any) -> List[Union[Commit_ish, None]]: | |||
| 784 | 784 | :class:`~git.objects.commit.Commit`, or is empty if no common merge base | |
| 785 | 785 | exists. | |
| 786 | 786 | ||
| 787 | - :raises ValueError: | ||
| 787 | + :raise ValueError: | ||
| 788 | 788 | If fewer than two revisions are provided. | |
| 789 | 789 | """ | |
| 790 | 790 | if len(rev) < 2: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -59,7 +59,7 @@ def touch(filename: str) -> str: | |||
| 59 | 59 | def is_git_dir(d: "PathLike") -> bool: | |
| 60 | 60 | """This is taken from the git setup.c:is_git_directory function. | |
| 61 | 61 | ||
| 62 | - :raises WorkTreeRepositoryUnsupported: | ||
| 62 | + :raise WorkTreeRepositoryUnsupported: | ||
| 63 | 63 | If it sees a worktree directory. It's quite hacky to do that here, but at least | |
| 64 | 64 | clearly indicates that we don't support it. There is the unlikely danger to | |
| 65 | 65 | throw if we see directories which just look like a worktree dir, but are none. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments