1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-07 01:09:45 +02:00

Use a better name for the auto-stash for moving a custom patch to index

This commit is contained in:
Stefan Haller
2025-07-03 16:50:53 +02:00
parent 2a7ce19b73
commit 9511ed9d2c
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,7 @@
package git_commands
import (
"fmt"
"path/filepath"
"time"
@ -218,7 +219,7 @@ func (self *PatchCommands) MovePatchToSelectedCommit(commits []*models.Commit, s
func (self *PatchCommands) MovePatchIntoIndex(commits []*models.Commit, commitIdx int, stash bool) error {
if stash {
if err := self.stash.Push(self.Tr.StashPrefix + commits[commitIdx].Hash()); err != nil {
if err := self.stash.Push(fmt.Sprintf(self.Tr.AutoStashForMovingPatchToIndex, commits[commitIdx].ShortHash())); err != nil {
return err
}
}