| |
@@ -137,7 +137,7 @@
|
| |
git_clone_and_checkout("clone_url", committish, "/dir")
|
| |
expected = []
|
| |
expected += [mock.call(['git', 'clone', 'clone_url', '/dir', '--depth',
|
| |
- '500', '--no-single-branch'])]
|
| |
+ '500', '--no-single-branch', '--recursive'])]
|
| |
if committish:
|
| |
expected += [mock.call(['git', 'checkout', committish], cwd='/dir')]
|
| |
|
| |
It would be ideal to use --shallow-submodules, but it seems that
rpkg-util doesn't support this, yet:
https://pagure.io/rpkg-util/issue/43
Fixes: #2163