| |
@@ -1506,9 +1506,7 @@
|
| |
if self.quiet:
|
| |
cmd.append('-q')
|
| |
if depth:
|
| |
- # argument '--depth' goes with '--no-single-branch' together
|
| |
- # to apply history truncation to all cloned branches
|
| |
- cmd.extend(['--depth', depth, "--no-single-branch"])
|
| |
+ cmd.extend(['--depth', depth])
|
| |
# do the clone
|
| |
if branch and bare_dir:
|
| |
raise rpkgError('Cannot combine bare cloning with a branch')
|
| |
Revert argument '--no-single-branch'. It is not needed as per requestor.
Cloning shallow copy of single branch (with argument '--branch') is sufficient.
JIRA: COMPOSE-2812
Relates: #363
Signed-off-by: Ondrej Nosek onosek@redhat.com