Bug 453625

Summary: Git add and commit on a directory
Product: [Applications] dolphin Reporter: tata668
Component: plugins: gitAssignee: Sebastian Dörner <sebastian>
Status: CONFIRMED ---    
Severity: wishlist CC: kfm-devel, nate
Priority: NOR    
Version: 21.12.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:

Description tata668 2022-05-10 13:27:55 UTC
SUMMARY
This is a request. I currently don't use this Dolphin Git plugin for one reason: if there are multiple files modified/added/deleted in a directory (and in its subdirectories), there is no option to "git add" them all at once.

Ideally, there would be an option allowing you to select which files to add and commit, from a repository directory. But simply to allow "git add --all" would be nice too.

EXPECTED RESULT

- The directory "~/myRepo" is a git directory containing files that were modified. Some of those modified files may be in subdirectories.

- In Dolphin, I right-click in this "~/myRepo" directory.

- The "Git Commit..." option is shown, even if there are no files staged already. I open it.

- In addition to the "Commit message" texarea, there is a list of all files that were added/modified/deleted but that are not  staged yet.

- I'm able to select the files I want to add and commit.

- I press "Commit" and a command similar to "git add file1 file2 subDir/file3 && git commit -m "My Commit Message" is executed.

ALTERNATIVE

If listing the modified files and allowing them to be selected (or not) is too complex, a simple "add all" checkbox option would be really appreciated.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.32-1-MANJARO (64-bit)
Graphics Platform: X11