git-stack-cli 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27960,6 +27960,12 @@ echo "$GIT_REVISE_TODO" > "$git_revise_todo_path"
27960
27960
  `git`,
27961
27961
  `revise --edit -i ${rebase_merge_base}`,
27962
27962
  ]);
27963
+ // early return since we do not need to sync
27964
+ if (!argv.sync) {
27965
+ return;
27966
+ }
27967
+ // in order to sync we walk from rebase_group_index to HEAD
27968
+ // checking out each group and syncing to github
27963
27969
  // start from HEAD and work backward to rebase_group_index
27964
27970
  const push_group_list = [];
27965
27971
  let lookback_index = 0;
@@ -34335,7 +34341,7 @@ async function command() {
34335
34341
  .wrap(123)
34336
34342
  // disallow unknown options
34337
34343
  .strict()
34338
- .version("1.3.2" )
34344
+ .version("1.3.3" )
34339
34345
  .showHidden("show-hidden", "Show hidden options via `git stack help --show-hidden`")
34340
34346
  .help("help", "Show usage via `git stack help`").argv);
34341
34347
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "git-stack-cli",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "",
5
5
  "author": "magus",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/magus/git-stack-cli.git"
9
+ "url": "git+https://github.com/magus/git-stack-cli.git"
10
10
  },
11
11
  "type": "module",
12
12
  "bin": {
@@ -155,6 +155,14 @@ async function run() {
155
155
  `revise --edit -i ${rebase_merge_base}`,
156
156
  ]);
157
157
 
158
+ // early return since we do not need to sync
159
+ if (!argv.sync) {
160
+ return;
161
+ }
162
+
163
+ // in order to sync we walk from rebase_group_index to HEAD
164
+ // checking out each group and syncing to github
165
+
158
166
  // start from HEAD and work backward to rebase_group_index
159
167
  const push_group_list = [];
160
168
  let lookback_index = 0;