Bug 508365 - Included in .gitignore and/or untracked folders are shown as 'up-to-date'
Summary: Included in .gitignore and/or untracked folders are shown as 'up-to-date'
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: plugins: git (other bugs)
Version First Reported In: 25.08.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Dörner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-17 01:12 UTC by Damglador
Modified: 2025-08-17 01:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
src/ and folders in it shown as 'up-to-date' despite being in gitignore (126.90 KB, image/png)
2025-08-17 01:12 UTC, Damglador
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damglador 2025-08-17 01:12:27 UTC
Created attachment 184167 [details]
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