(subject string, body string)
| 179 | } |
| 180 | |
| 181 | func (self *Shell) EmptyCommitWithBody(subject string, body string) *Shell { |
| 182 | return self.RunCommand([]string{"git", "commit", "--allow-empty", "-m", subject, "-m", body}) |
| 183 | } |
| 184 | |
| 185 | func (self *Shell) EmptyCommitDaysAgo(message string, daysAgo int) *Shell { |
| 186 | return self.RunCommand([]string{"git", "commit", "--allow-empty", "--date", fmt.Sprintf("%d days ago", daysAgo), "-m", message}) |
no test coverage detected