Remove StashWithMessage function

It's identical to Stash(), so use that.
This commit is contained in:
Stefan Haller 2023-07-01 15:56:08 +02:00
parent 82b3803164
commit 1d96ade0ba
2 changed files with 2 additions and 7 deletions

View file

@ -196,11 +196,6 @@ func (self *Shell) CreateNCommitsStartingAt(n, startIndex int) *Shell {
return self
}
func (self *Shell) StashWithMessage(message string) *Shell {
self.RunCommand([]string{"git", "stash", "-m", message})
return self
}
func (self *Shell) SetConfig(key string, value string) *Shell {
self.RunCommand([]string{"git", "config", "--local", key, value})
return self