Code Monkey home page Code Monkey logo

Comments (6)

ajoberstar avatar ajoberstar commented on August 23, 2024

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.

steven-aerts avatar steven-aerts commented on August 23, 2024

JGit issue [354367|https://bugs.eclipse.org/bugs/show_bug.cgi?id=354367] has now been fixed.

from grgit.

Lasagna220 avatar Lasagna220 commented on August 23, 2024

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.

ajoberstar avatar ajoberstar commented on August 23, 2024

Can you post your buildscript block?

from grgit.

Lasagna220 avatar Lasagna220 commented on August 23, 2024
buildscript {
  dependencies {
    classpath 'org.ajoberstar:grgit:1.3.0'
  }
  repositories {
    mavenCentral()
  }
}

from grgit.

ajoberstar avatar ajoberstar commented on August 23, 2024

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)

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.