apache / apache/netbeans

Support "native" Git

Open
#4,478 9 comments 4 reactions 0 assignees View on GitHub
Contribution welcome git kind:feature
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Native git should be supported because:

* JGit inevitably lags behind native git, e.g. support for "gitattributes" [1] took over 7(!) years, and there's still no support for "git worktree" [2] and "includeIf" [3][4]
* JGit's lack of support for certain features leads to unreliable/surprising behavior and possible data loss, e.g. [5]
* NetBeans lags behind JGit, because it needs to upgrade the bundled JGit (currently it bundles 5.7.0, while JGit is at 6.2.0)

Previous issues:
* https://issues.apache.org/jira/browse/NETBEANS-2122
* https://bz.apache.org/netbeans/show_bug.cgi?id=268242

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=342372
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=477475
[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=543171
[4] https://issues.apache.org/jira/browse/NETBEANS-4264
[5] https://bugs.eclipse.org/bugs/show_bug.cgi?id=477745

### Use case/motivation

Reliable git support

### Related issues

_No response_

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by reviewing NetBeans' existing Git integration and its bundled JGit dependency, then compare the requested native Git features with the current support. The issue provides no file, test, or entry point, so the implementation boundary and completion criteria need to be established before coding.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, java
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.