Skip to content

Add Oid.__bool__ + clarify Oid docs/stubs#1347

Merged
jdavid merged 3 commits intolibgit2:masterfrom
jorio:oid-bool
Feb 8, 2025
Merged

Add Oid.__bool__ + clarify Oid docs/stubs#1347
jdavid merged 3 commits intolibgit2:masterfrom
jorio:oid-bool

Conversation

@jorio
Copy link
Contributor

@jorio jorio commented Feb 7, 2025

  • bool(oid) lets you quickly determine that an Oid isn't the null SHA-1 (all zeros).
  • Minor updates to Oid's documentation and type stubs.

@jdavid jdavid merged commit c46ab08 into libgit2:master Feb 8, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants