Chad has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/404529 )
Change subject: make-wmf-branch: Clone submodules with --depth=1
......................................................................
make-wmf-branch: Clone submodules with --depth=1
Change-Id: Id7916e97b76b29c8b9cfbc52af5ee4f031494de2
---
M make-wmf-branch/MakeWmfBranch.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/tools/release
refs/changes/29/404529/1
diff --git a/make-wmf-branch/MakeWmfBranch.php
b/make-wmf-branch/MakeWmfBranch.php
index 3cce03d..0c16519 100644
--- a/make-wmf-branch/MakeWmfBranch.php
+++ b/make-wmf-branch/MakeWmfBranch.php
@@ -164,7 +164,7 @@
return;
}
- $this->runCmd( 'git', 'clone', '-q',
"{$this->repoPath}/{$path}", $repo );
+ $this->runCmd( 'git', 'clone', '-q', '--depth', '1',
"{$this->repoPath}/{$path}", $repo );
$this->chdir( $repo );
$newVersion = $this->branchPrefix . $this->newVersion;
--
To view, visit https://gerrit.wikimedia.org/r/404529
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id7916e97b76b29c8b9cfbc52af5ee4f031494de2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/tools/release
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits