Comments (6)
I have just released a patch for gix-ref
and you are welcome to try it. In my CI testing, the patch did resolve the issue described here that was reproduced beforehand.
from gitoxide.
The error no longer occurs for me after upgrading to gix-ref 0.39.1. Thanks @Byron and @yuja for such a quick turnaround!
from gitoxide.
Thanks for reporting!
A test for this is definitely missing (as in: delete while packed refs is memmapped), and I will rectify this along with a 'fix' (which probably has to be to simply not mmap on Windows).
from gitoxide.
a 'fix' (which probably has to be to simply not mmap on Windows).
Yeah. There would be no reasonable workaround if mmaped file can't be deleted. External git process should be able to update packed-refs while it is mmapped by gix.
from gitoxide.
Thanks for the quick fix!
@jennings, can you test this with your repo?
https://github.com/yuja/jj/tree/push-vroloysozmyx (or update jj to the current main and run cargo update gix-ref
)
from gitoxide.
Please keep me posted on how it goes (despite this issue being auto-closed by the PR). I am pretty optimistic sure that it works now and hope it will work for you, too.
from gitoxide.
Related Issues (20)
- some way to refresh in-memory packed refs cache without relying on mtime HOT 2
- Panic receiving pack if fetch interrupted HOT 2
- `gix clone` sets `core.symlinks` to `false` on Windows even if globally `true` HOT 1
- Checking out a dangling symlink on Windows is treated as a hard error HOT 3
- CI install-action now fails on Windows, can't find .cargo/bin
- 16 tests fail on Windows with GIX_TEST_IGNORE_ARCHIVES=1
- Tests on Windows require Git Bash or a similar environment HOT 1
- Assertion failure crash in `gix_date::time::write::<impl gix_date::Time>::write_to` HOT 3
- `core.excludesFile` config entry exists but has blank value causes error: is this considered a bug or expected behavior? HOT 1
- Nondeterministic macOS `is_symlink` assertion failure in `overwriting_files_and_lone_directories_works` HOT 1
- Backport outside traversal fix to v0.62.x HOT 2
- Installing `[email protected]` via `cargo install` not possible because the `zip` crate in the specified verision is yanked HOT 1
- Could `gix_object::Find` be async?
- "[48] An unknown option was passed in to libcurl" on CentOS 7 HOT 3
- OSS-Fuzz issue 69546 HOT 1
- Use Conventional Commits and calculate version number for releases HOT 5
- OSS-Fuzz issue 69636 HOT 1
- Fetching multiple times on Windows with gix 0.63.0 eventually results in "Could not move a temporary file into its desired place" HOT 5
- Trying to fetch only non-existant refs results in "Could not decode server reply" HOT 4
- Sovereign Tech Fund and NLNet Application
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitoxide.