Comments (6)
Unfortunately, JGit (which underlies all of Grgit's functionality) does not support symlinks right now. See this JGit issue.
Let me know if you don't that's the problem you're having.
from grgit.
JGit issue [354367|https://bugs.eclipse.org/bugs/show_bug.cgi?id=354367] has now been fixed.
from grgit.
I am still exeriencing this issue using 'org.ajoberstar:grgit:1.3.0'. My repository has a few symlinks in it and grgit.status() treats them as unstaged changes:
org.ajoberstar.grgit.Status(staged:org.ajoberstar.grgit.Status$Changes(added:[], modified:[], removed:[]), unstaged:org.ajoberstar.grgit.Status$Changes(added:[], modified:[platform/messaging-service/index.md, platform/insurance-card-scanning/ocr/lib/libocr.so, build.gradle, platform/configuration-service/index.md, platform/core/index.md], removed:[]))
From the command line, git status returns:
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: build.gradle
#
no changes added to commit (use "git add" and/or "git commit -a")
from grgit.
Can you post your buildscript
block?
from grgit.
buildscript {
dependencies {
classpath 'org.ajoberstar:grgit:1.3.0'
}
repositories {
mavenCentral()
}
}
from grgit.
Could your issue be related to #69? I'll be upgrading the JGit dependency with 1.4.0 (but you could try it yourself in the meantime).
from grgit.
Related Issues (20)
- Grgit instance is null on Windows. HOT 3
- Move artefacts from jcenter HOT 2
- Version 4.02 not in Maven Central HOT 4
- error : git-upload-pack not permitted on <git repo> HOT 1
- Enable JDK 8 compatibility HOT 4
- `Property` vs. `Provider`
- The service plugin is unusable as advertised
- Support for `Provider` in `org.ajoberstar.grgit.service.ResolveService#toRevisionString` HOT 1
- Could hub4j help the Git Server interaction? HOT 1
- Gradle 8.1.1 prompts errors about external processes HOT 1
- Could not find org.ajoberstar.grgit:grgit-core:4.1.0
- Erroneous handling of missing Git repository with `org.ajoberstar.grgit.service` plugin
- Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8 HOT 1
- Unable to publish release with org.ajoberstar.grgit version '5.2.0' HOT 1
- Consider releasing new version to resolve JGit issue
- org.eclipse.jgit.api.errors.TransportException: https://github.com/xx/yy.git: not authorized when running release command HOT 1
- Support: Recomended way to check if in git directory. HOT 3
- Feature: Support `git rev-parse` HOT 5
- if .git directory is missing we get: Unresolved reference: grgit HOT 3
- dateTime is null for latest tag
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 grgit.