mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-06 13:00:59 -04:00
Fix the parameter names of Shell.StartBisect
`git bisect start` takes the bad commit first and the good one second. The parameters were named the other way round. The only caller already passes the bad commit first, so only the names were wrong. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4e1eebe278
commit
d924a26737
@@ -414,8 +414,8 @@ func (self *Shell) Stash(message string) *Shell {
|
||||
return self
|
||||
}
|
||||
|
||||
func (self *Shell) StartBisect(good string, bad string) *Shell {
|
||||
self.RunCommand([]string{"git", "bisect", "start", good, bad})
|
||||
func (self *Shell) StartBisect(bad string, good string) *Shell {
|
||||
self.RunCommand([]string{"git", "bisect", "start", bad, good})
|
||||
return self
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user