Skip to content

Commit 5ee8744

Browse files
committed
Update git source link in Repo.merge_base comment
And link to a specific tag (the most recent stable version tag) so the the hyperlink won't break in the future (as long as GitHub URLs keep working).
1 parent c67b2e2 commit 5ee8744

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/repo/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -798,8 +798,8 @@ def merge_base(self, *rev: TBD, **kwargs: Any) -> List[Union[Commit_ish, None]]:
798798
if err.status == 128:
799799
raise
800800
# END handle invalid rev
801-
# Status code 1 is returned if there is no merge-base
802-
# (see https://github.com/git/git/blob/master/builtin/merge-base.c#L16)
801+
# Status code 1 is returned if there is no merge-base.
802+
# (See: https://github.com/git/git/blob/v2.44.0/builtin/merge-base.c#L19)
803803
return res
804804
# END exception handling
805805

0 commit comments

Comments
 (0)