Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Commitba878ef
committed
Reword partial_to_complete_sha_hex note
The git.db.partial_to_complete_sha_hex docstring refers to"AmbiguousObjects", suggesting the existence of an AmbiguousObjecttype (or an AmbiguousObjects type).Since there appears to be no such type in GitPython (or in gitdb),this seems to have been written in reference to the conditionexpressed by the AmbiguousObjectName exception, which the notesays is not currently able to be raised (such that BadObject israised instead) in situations where it would apply.Since the connection to that exeception is already clear fromcontext, this commit changes the wording to "ambiguous objects" toavoid being misread as a reference to a Python class of ambiguousobjects.1 parent8bb882e commitba878ef
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
|
0 commit comments
Comments
(0)