NEW DATE! Bugzilla will undergo maintenance 2024-03-28 18h00 CET. Bugzilla will be placed in read-only mode at that time.

Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 566799 - Status.getUntrackedFolders does not return all untracked folders
Summary: Status.getUntrackedFolders does not return all untracked folders
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 5.8.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 5.10   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-08 17:03 EDT by Pavel Kraskov CLA
Modified: 2020-09-21 18:37 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Kraskov CLA 2020-09-08 17:03:14 EDT
It looks like untracked folders with '-' (hyphen) in its name are not returned if prefixed with another untracked folder name. 

For ex. if I have both untracked folders:
audio 
audio-new

The second one is missed from output of Status.getUntrackedFolders method.
At the same time if I remove the hyphen both names 'audio' and 'audionew' will be returned.  

Please let me know if sample project demonstrating the issue needed.
Comment 1 Thomas Wolf CLA 2020-09-10 17:41:58 EDT
Can reproduce. Is reproducible not only with '-', but with any character with an ASCII code < '/'. Fix is easy.
Comment 2 Eclipse Genie CLA 2020-09-10 17:47:13 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jgit/jgit/+/169170