Add integration tests

This commit is contained in:
Luka Markušić 2022-04-15 08:03:25 +02:00
parent 1ae2dc9941
commit bd9daf80b7
225 changed files with 329 additions and 66 deletions

View file

@ -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 {