1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

Add integration test

This commit is contained in:
Brandon
2025-02-23 16:33:12 -08:00
committed by Stefan Haller
parent 1fa9ea7f04
commit 2db0a024bc
4 changed files with 130 additions and 3 deletions

View File

@ -360,8 +360,8 @@ func (self *Shell) CloneIntoRemote(name string) *Shell {
}
func (self *Shell) CloneIntoSubmodule(submoduleName string, submodulePath string) *Shell {
self.Clone("other_repo")
self.RunCommand([]string{"git", "submodule", "add", "--name", submoduleName, "../other_repo", submodulePath})
self.Clone(submoduleName)
self.RunCommand([]string{"git", "submodule", "add", "--name", submoduleName, "../" + submoduleName, submodulePath})
return self
}