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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user