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

Appearance settings

Commit 5ee8744

Browse filesBrowse 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
Copy full SHA for 5ee8744

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎git/repo/base.py

Copy file name to clipboardExpand all lines: git/repo/base.py
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.