Bug 453625 - Git add and commit on a directory
Summary: Git add and commit on a directory
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: plugins: git (show other bugs)
Version: 21.12.3
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Sebastian Dörner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-10 13:27 UTC by tata668
Modified: 2022-05-11 13:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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