| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -963,7 +963,9 @@ def blame_incremental(self, rev: str | HEAD | None, file: str, **kwargs: Any) -> | |||
| 963 | 963 | Unlike :meth:`blame`, this does not return the actual file's contents, only a | |
| 964 | 964 | stream of :class:`BlameEntry` tuples. | |
| 965 | 965 | ||
| 966 | - :param rev: Revision specifier, see git-rev-parse for viable options. | ||
| 966 | + :param rev: Revision specifier. If `None`, the blame will include all the latest | ||
| 967 | + uncommitted changes. Otherwise, anything succesfully parsed by git-rev-parse | ||
| 968 | + is a valid option. | ||
| 967 | 969 | ||
| 968 | 970 | :return: Lazy iterator of :class:`BlameEntry` tuples, where the commit indicates | |
| 969 | 971 | the commit to blame for the line, and range indicates a span of line numbers | |
@@ -1053,7 +1055,9 @@ def blame( | |||
| 1053 | 1055 | ) -> List[List[Commit | List[str | bytes] | None]] | Iterator[BlameEntry] | None: | |
| 1054 | 1056 | """The blame information for the given file at the given revision. | |
| 1055 | 1057 | ||
| 1056 | - :param rev: Revision specifier, see git-rev-parse for viable options. | ||
| 1058 | + :param rev: Revision specifier. If `None`, the blame will include all the latest | ||
| 1059 | + uncommitted changes. Otherwise, anything succesfully parsed by git-rev-parse | ||
| 1060 | + is a valid option. | ||
| 1057 | 1061 | ||
| 1058 | 1062 | :return: | |
| 1059 | 1063 | list: [git.Commit, list: [<line>]] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments