GithubHelp home page GithubHelp logo

jgit-website's People

Contributors

msohn avatar robinst avatar caniszczyk avatar

Watchers

Han-Wen Nienhuys avatar  avatar  avatar  avatar David Ostrovsky avatar David Pursehouse avatar Andrey Loskutov avatar

jgit-website's Issues

Upgradation to jakarta package in org.eclipse.jgit

Hello,

I am using the latest version of org.eclipse.jgit (6.7.0.202309050840-r). I have upgraded my existing project to Spring Boot 3 and Java 17.
As we know, the Javax package has been moved to Jakarta.
I am using the Gitservlet class belonging to package org.eclipse.jgit.http.server.
This class is using some properties of HttpServelt, but HttpServlet has been moved to Jakarta.
Hence, after adding dependencies, I am getting a compilation error, as mentioned in the below screenshot.

Are you planning to fix this in the next version?

image

Unmodified files are added with CommitCommand.setAll(true)

Hi,

I hope this is the home of eclipse JGit library :-)

We are using JGit 6.3.0.202209071007-r (and tried with 6.6.0.202305301015-r as well), and the same behavior was observed. When we have
CommitCommand commitCommand = git.commit() .setAll(true) .setAllowEmpty(false) .setMessage(title) .setCommitter(author, authorEmail) .setAuthor(author, authorEmail);
it adds some unmodified files from the same repository as part of the commit. I couldn't figure out why such behavior happens. I tried to check diff prior to committing and it didn't show the unmodified file.

Current temp solution I am thinking is to use
commitCommand.setOnly(filename)
on the modified files only, then I was able to create a proper commit without the unmodified files included.

So, I was wondering if there were known/reported issues around the same/similar matter? If not, can it be reviewed and address the issue?

Thank you for the great library and thank you for the support in advance.

Regards,
Dong-Jun

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.