Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial stash specific files #1202

Merged
merged 2 commits into from
Mar 26, 2023
Merged

Partial stash specific files #1202

merged 2 commits into from
Mar 26, 2023

Conversation

jorio
Copy link
Contributor

@jorio jorio commented Mar 25, 2023

This PR exposes libgit2 1.6's partial stashing feature to Python.

Repository.stash() now has an optional paths: list[str] argument to control which files to include in the stash.

I also updated some ..._init_options calls to non-deprecated ..._options_init versions in the C code.

@jdavid jdavid merged commit 75f8fcd into libgit2:master Mar 26, 2023
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.

None yet

2 participants