mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Add integration tests
This commit is contained in:
parent
1ae2dc9941
commit
bd9daf80b7
225 changed files with 329 additions and 66 deletions
|
@ -53,7 +53,7 @@ func (self *StashCommands) StashAndKeepIndex(message string) error {
|
|||
}
|
||||
|
||||
func (self *StashCommands) StashUnstagedChanges(message string) error {
|
||||
if err := self.cmd.New("git commit -m \"WIP\"").Run(); err != nil {
|
||||
if err := self.cmd.New("git commit --no-verify -m \"[lazygit] stashing unstaged changes\"").Run(); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := self.Save(message); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue