Repository navigation
Description
Git Manager may incorrectly report deleted files as unstaged changes after renaming a directory by changing only its capitalization, for example, Formatter/ → formatter/ .
The issue was observed in an AndroidIDE project using JGit. After staging all changes and committing/pushing them through the terminal, git status --short reports a clean working tree, but Git Manager continues to display deleted files from the old directory as unstaged changes.
Example diff:
diff --git a/Formatter/libs/jackson-module-parameter-names-2.18.3.jar b/Formatter/libs/jackson-module-parameter-names-2.18.3.jar
deleted file mode 100644
index c3adbaa..0000000
--- a/Formatter/libs/jackson-module-parameter-names-2.18.3.jarBinary files differ
Steps to reproduce
- Open a Git repository on a filesystem that is case-insensitive or has
core.ignorecase=true. - Rename a tracked directory using only a case change, such as
Formatter/toformatter/. - Stage all changes and commit/push them.
- Verify that
"git status --short"reports no changes. - Open Git Manager and inspect the unstaged changes.
Expected behavior
Git Manager should reflect the actual Git working-tree status and should not display stale or false unstaged deletions after the repository becomes clean.
Actual behavior
Git Manager continues to display deleted files under the old directory name as unstaged changes, even though the terminal reports a clean working tree.
Technical notes
The repository uses JGit. The current implementation obtains status through git.status().call() and calculates unstaged diffs by comparing DirCacheIterator with FileTreeIterator in getDiff() .
The affected repository contained both Formatter/ and formatter/ in the Git tree, with identical tree hashes. The environment reported core.ignorecase=true .
Further investigation is needed to determine whether the issue originates in JGit status/diff handling, filesystem case sensitivity, or Git Manager's change classification and refresh logic.
Suggested investigation
- Reproduce with a case-only directory rename on a case-insensitive filesystem.
- Compare JGit's
StatusandDiffFormatterresults with the native Git CLI. - Check whether the index contains paths that differ only by capitalization.
- Ensure Git Manager refreshes and classifies staged and unstaged changes consistently.

Activity
github-actions commentedon Oct 11, 2026
Tracked in Jira: ADFA-6474