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

Add EnableFsyncGitDir to enable synchronized writes to the gitdir #874

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

proglottis
Copy link
Contributor

This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

https://github.com/libgit2/libgit2/blob/v0.28.1/include/git2/common.h#L357

This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.
Copy link
Contributor

@lhchavez lhchavez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this improvement 🎉 !

@lhchavez lhchavez merged commit 1fcc9d8 into libgit2:main Jan 18, 2022
github-actions bot pushed a commit that referenced this pull request Jan 18, 2022
This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

Co-authored-by: James Fargher <jfargher@gitlab.com>
(cherry picked from commit 1fcc9d8)
github-actions bot pushed a commit that referenced this pull request Jan 18, 2022
This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

Co-authored-by: James Fargher <jfargher@gitlab.com>
(cherry picked from commit 1fcc9d8)
github-actions bot pushed a commit that referenced this pull request Jan 18, 2022
This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

Co-authored-by: James Fargher <jfargher@gitlab.com>
(cherry picked from commit 1fcc9d8)
github-actions bot pushed a commit that referenced this pull request Jan 18, 2022
This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

Co-authored-by: James Fargher <jfargher@gitlab.com>
(cherry picked from commit 1fcc9d8)
github-actions bot pushed a commit that referenced this pull request Jan 18, 2022
This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

Co-authored-by: James Fargher <jfargher@gitlab.com>
(cherry picked from commit 1fcc9d8)
lhchavez pushed a commit that referenced this pull request Jan 18, 2022
…) (#876)

This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

Co-authored-by: James Fargher <jfargher@gitlab.com>
(cherry picked from commit 1fcc9d8)

Co-authored-by: James Fargher <proglottis@gmail.com>
lhchavez pushed a commit that referenced this pull request Jan 18, 2022
…) (#875)

This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

Co-authored-by: James Fargher <jfargher@gitlab.com>
(cherry picked from commit 1fcc9d8)

Co-authored-by: James Fargher <proglottis@gmail.com>
lhchavez pushed a commit that referenced this pull request Jan 18, 2022
…) (#877)

This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

Co-authored-by: James Fargher <jfargher@gitlab.com>
(cherry picked from commit 1fcc9d8)

Co-authored-by: James Fargher <proglottis@gmail.com>
lhchavez pushed a commit that referenced this pull request Jan 18, 2022
…) (#878)

This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

Co-authored-by: James Fargher <jfargher@gitlab.com>
(cherry picked from commit 1fcc9d8)

Co-authored-by: James Fargher <proglottis@gmail.com>
lhchavez pushed a commit that referenced this pull request Jan 18, 2022
…) (#879)

This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

Co-authored-by: James Fargher <jfargher@gitlab.com>
(cherry picked from commit 1fcc9d8)

Co-authored-by: James Fargher <proglottis@gmail.com>
@proglottis proglottis deleted the enable_fsync_gitdir branch January 18, 2022 20:06
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