-
-
Notifications
You must be signed in to change notification settings - Fork 402
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: libgit2/pygit2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.19.2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: libgit2/pygit2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 6 files changed
- 3 contributors
Commits on Apr 20, 2026
-
docs(repository.diff): fix docstring keyword 'flag' -> 'flags'
The BaseRepository.diff signature takes 'flags: DiffOption = ...', not 'flag', but the docstring's Keyword arguments block listed 'flag'. Closes #1138
Configuration menu - View commit details
-
Copy full SHA for 7fd5bfd - Browse repository at this point
Copy the full SHA 7fd5bfdView commit details
Commits on Apr 30, 2026
-
fix(repository): dereference reflog identity correctly
Since its introduction in commit 81520c9 (Update to libgit2 v0.23), the reflog identity getter (Repository.ident) has been passing the (char **) variables directly to ffi.string() as C-strings, when they really are pointers to C-strings. Fix by dereferencing the pointer to a C-string first. Furthermore, Repository.ident assumes that said variables hold valid C-strings, when the reflog identity is initialized to NULL, and can be explicitly set to such with `set_ident (None, None)`. So map None to ffi.NULL (which maybe_string() happens to already do, so I simply delegated to that...). I also added a few regression tests to ensure neither issue shows up again. Signed-off-by: Ethan Meng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d32573e - Browse repository at this point
Copy the full SHA d32573eView commit details -
fix(repository): amend annotations on reflog identity
Since set_ident() already has type annotations, it seems fitting that we adorn ident() with those too. :) Also, to_bytes() is perfectly capable of mapping None to ffi.NULL, so the parameters on set_ident() should be `str | None` (aka Optional[str]). Signed-off-by: Ethan Meng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 379b4d8 - Browse repository at this point
Copy the full SHA 379b4d8View commit details -
docs(repository): fix default_signature typos
Repository.default_signature is a read-only descriptor, not a getter method. Signed-off-by: Ethan Meng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7bd6d2 - Browse repository at this point
Copy the full SHA e7bd6d2View commit details
Commits on May 3, 2026
-
Configuration menu - View commit details
-
Copy full SHA for ce09444 - Browse repository at this point
Copy the full SHA ce09444View commit details -
Configuration menu - View commit details
-
Copy full SHA for beb465a - Browse repository at this point
Copy the full SHA beb465aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 433c93f - Browse repository at this point
Copy the full SHA 433c93fView commit details
Commits on May 4, 2026
-
Configuration menu - View commit details
-
Copy full SHA for c5db72d - Browse repository at this point
Copy the full SHA c5db72dView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.19.2...master