Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4005

UI shows files in git repo as modified when they are not

    XMLWordPrintableJSON

Details

    Description

      The version control UI highlights files that are changed in the working directory. Under certain circumstances, the 'git' provider highlights files as changed when they are not. See the attached screen shot for an example. The file Arch.xsl and two others are in blue, but NB's own diff view shows no changes (0/0). This is confirmed by running git status/git diff from the command line.

      This is a known problem associated with the version of jgit (5.5.0) bundled with NetBeans, and which was fixed in 5.5.1. See discussion here.

      The update to jgit was because of https://issues.apache.org/jira/browse/NETBEANS-519 and implemented in https://github.com/apache/netbeans/pull/1528 , November 2019.

      Suggested fix: update jgit to 5.5.1

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              peterhull90 Peter Hull
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m