Coder Social home page Coder Social logo

Comments (6)

Byron avatar Byron commented on June 20, 2024 1

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.

jennings avatar jennings commented on June 20, 2024 1

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.

Byron avatar Byron commented on June 20, 2024

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.

yuja avatar yuja commented on June 20, 2024

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.

yuja avatar yuja commented on June 20, 2024

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.

Byron avatar Byron commented on June 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.