From 9350fe341a620afa92ce96be9d7334dfa4046d86 Mon Sep 17 00:00:00 2001
From: eric sciple <ericsciple@users.noreply.github.com>
Date: Tue, 10 Mar 2020 12:53:19 -0400
Subject: [PATCH] test submodule depth

---
 dist/index.js              | 1 +
 src/git-command-manager.ts | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dist/index.js b/dist/index.js
index 3082946..eb11f6b 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -5482,6 +5482,7 @@ class GitCommandManager {
     submoduleUpdate(fetchDepth, recursive) {
         return __awaiter(this, void 0, void 0, function* () {
             const args = ['-c', 'protocol.version=2'];
+            // ?
             args.push('submodule', 'update', '--init', '--force');
             if (fetchDepth > 0) {
                 args.push(`--depth=${fetchDepth}`);
diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts
index 4cbfe4a..846fb3e 100644
--- a/src/git-command-manager.ts
+++ b/src/git-command-manager.ts
@@ -263,6 +263,7 @@ class GitCommandManager {
 
   async submoduleUpdate(fetchDepth: number, recursive: boolean): Promise<void> {
     const args = ['-c', 'protocol.version=2']
+    // ?
     args.push('submodule', 'update', '--init', '--force')
     if (fetchDepth > 0) {
       args.push(`--depth=${fetchDepth}`)