Skip to content

Support for new option 'GIT_OPT_DISABLE_PACK_KEEP_FILE_CHECKS' to skip checking for '.keep' files#908

Closed
mechanicker wants to merge 1 commit into
libgit2:masterfrom
mechanicker:eliminate-check-for-keep-file
Closed

Support for new option 'GIT_OPT_DISABLE_PACK_KEEP_FILE_CHECKS' to skip checking for '.keep' files#908
mechanicker wants to merge 1 commit into
libgit2:masterfrom
mechanicker:eliminate-check-for-keep-file

Conversation

@mechanicker

Copy link
Copy Markdown

A new option 'GIT_OPT_DISABLE_PACK_KEEP_FILE_CHECKS' was added in libgit2 (master) to bypass checking for existence of '.keep'. This PR exposes the option via pygit2.

@mechanicker

Copy link
Copy Markdown
Author

Have to wait till libgit2 makes a release

@jdavid

jdavid commented Dec 22, 2019

Copy link
Copy Markdown
Member

Superseded by commit 9b509cb

Thanks!

@jdavid jdavid closed this Dec 22, 2019
netbsd-srcmastr referenced this pull request in NetBSD/pkgsrc Mar 1, 2020
1.1.0 (2020-03-01)
-------------------------

- Upgrade to libgit2 0.99
  `#959 <https://github.com/libgit2/pygit2/pull/959>`_

- Continued work on custom odb backends
  `#948 <https://github.com/libgit2/pygit2/pull/948>`_

- New ``Diff.patchid`` getter
  `#960 <https://github.com/libgit2/pygit2/pull/960>`_
  `#877 <https://github.com/libgit2/pygit2/issues/877>`_

- New ``settings.disable_pack_keep_file_checks(...)``
  `#908 <https://github.com/libgit2/pygit2/pull/908>`_

- New ``GIT_DIFF_`` and ``GIT_DELTA_`` constants
  `#738 <https://github.com/libgit2/pygit2/issues/738>`_

- Fix crash in iteration of config entries
  `#970 <https://github.com/libgit2/pygit2/issues/970>`_

- Travis: fix printing features when building Linux wheels
  `#977 <https://github.com/libgit2/pygit2/pull/977>`_

- Move ``_pygit2`` to ``pygit2._pygit2``
  `#978 <https://github.com/libgit2/pygit2/pull/978>`_

Requirements changes:

- Now libgit2 0.99 is required
- New requirement: cached-property

Breaking changes:

- In the rare case you're directly importing the low level ``_pygit2``, the
  import has changed::

    # Before
    import _pygit2

    # Now
    from pygit2 import _pygit2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants