[dolphin] [Bug 508365] New: Included in .gitignore and/or untracked folders are shown as 'up-to-date'

Damglador <[email protected]>
Newsgroups gmane.comp.kde.devel.kfm
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=508365

            Bug ID: 508365
           Summary: Included in .gitignore and/or untracked folders are
                    shown as 'up-to-date'
    Classification: Applications
           Product: dolphin
      Version First 25.08.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: plugins: git
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 184167
  --> https://bugs.kde.org/attachment.cgi?id=184167&action=edit
src/ and folders in it shown as 'up-to-date' despite being in gitignore

SUMMARY
A folder that is in .gitignore, unlike files, is still shown as tracked with an
"up-to-date" icon, this also applies to all folders in that folder (screenshot
attached). They are also shown as up-to-date even before `git add .` is run.

STEPS TO REPRODUCE
1. Create a test repository:
mkdir test
cd test
git init
touch file
mkdir -p folder/folder-in-folder
touch folder/file-in-folder
echo "folder" > .gitignore
2. Open it in Dolphin

OBSERVED RESULT
folder and folder-in-folder have green checkmark on them even though they're
git ignored and not tracked

EXPECTED RESULT
An untracked or/and added to gitignore folder and all its content, including
other folders, shouldn't have any marks on them.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.0-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 16 GiB of RAM (13.5 GiB usable)
Graphics Processor 1: AMD Radeon Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3060 Laptop GPU

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.