1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Commit only tracked files in tracked only filter view

This commit is contained in:
Partho Kunda
2025-03-17 22:51:10 +06:00
committed by Stefan Haller
parent 220f06052a
commit 7a1b63182d
6 changed files with 73 additions and 6 deletions

View File

@ -565,7 +565,7 @@ func (self *RefreshHelper) refreshStateFiles() error {
if len(pathsToStage) > 0 {
self.c.LogAction(self.c.Tr.Actions.StageResolvedFiles)
if err := self.c.Git().WorkingTree.StageFiles(pathsToStage); err != nil {
if err := self.c.Git().WorkingTree.StageFiles(pathsToStage, nil); err != nil {
return err
}
}