mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 20:36:03 +02:00
rename sha to hash 2
This commit is contained in:
parent
e6ef1642fa
commit
92aab21d3a
5 changed files with 21 additions and 21 deletions
|
@ -143,7 +143,7 @@ func (self *BisectCommands) IsDone() (bool, []string, error) {
|
|||
return false, nil, nil
|
||||
}
|
||||
|
||||
newSha := info.GetNewSha()
|
||||
newSha := info.GetNewHash()
|
||||
if newSha == "" {
|
||||
return false, nil, nil
|
||||
}
|
||||
|
@ -185,7 +185,7 @@ func (self *BisectCommands) IsDone() (bool, []string, error) {
|
|||
// render the commits from the bad commit.
|
||||
func (self *BisectCommands) ReachableFromStart(bisectInfo *BisectInfo) bool {
|
||||
cmdArgs := NewGitCmd("merge-base").
|
||||
Arg("--is-ancestor", bisectInfo.GetNewSha(), bisectInfo.GetStartSha()).
|
||||
Arg("--is-ancestor", bisectInfo.GetNewHash(), bisectInfo.GetStartHash()).
|
||||
ToArgv()
|
||||
|
||||
err := self.cmd.New(cmdArgs).DontLog().Run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue