GithubHelp home page GithubHelp logo

Comments (5)

delanym avatar delanym commented on May 21, 2024 1

Just take your own project, create an alternative worktree, and try run the plugin (see updated command above)

from git-build-hook.

rudikershaw avatar rudikershaw commented on May 21, 2024

Hi there,

I'm afraid I didn't even realise the git worktree feature existed until you raised this issue. I haven't had much time to work on the project recently, but I am hoping to find a big chunk of time soon to fix some issues and make some improvements.

I will take a look and see what I can work out. Would you be able to include a link to a minimal project that demonstrates the issue?

from git-build-hook.

rudikershaw avatar rudikershaw commented on May 21, 2024

Looks like this is a bug in jgit (which we are using to run git commands in the plugin).

https://bugs.eclipse.org/bugs/show_bug.cgi?id=477475

It's been known about since 2015 and hasn't been fixed. Looks like jgit is not being pro-actively maintained. There is a fork with a fix, but it is not published. I think it is probably safest to assume that jgit will never create a fix, so I will look into alternatives.

from git-build-hook.

rudikershaw avatar rudikershaw commented on May 21, 2024

I have released a fix in 3.4.0. You should be able to upgrade and you will be able to use worktrees without the error you were seeing.

The behaviour has been changed so that the configure goal will not attempt to apply configuration changes in a worktree. You should see a warning in your build output to that effect.

from git-build-hook.

rudikershaw avatar rudikershaw commented on May 21, 2024

Resolving this issue. Feel free to open a new issue if you have any further problems.

from git-build-hook.

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.