lalph 0.2.12 → 0.2.13

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.
package/dist/cli.mjs CHANGED
@@ -151361,6 +151361,7 @@ const setupWorktree = fnUntraced(function* (options) {
151361
151361
  const shouldUseWorktree = isSome(targetBranch);
151362
151362
  if (shouldUseWorktree) {
151363
151363
  const parsed = parseBranch(targetBranch.value);
151364
+ yield* options.exec`git fetch ${parsed.remote}`;
151364
151365
  if ((yield* options.exec`git checkout ${parsed.branchWithRemote}`) !== 0) {
151365
151366
  yield* options.exec`git checkout -b ${parsed.branch}`;
151366
151367
  yield* options.exec`git push -u ${parsed.remote} ${parsed.branch}`;
@@ -152229,7 +152230,7 @@ const commandSource = make$35("source").pipe(withDescription("Select the issue s
152229
152230
 
152230
152231
  //#endregion
152231
152232
  //#region package.json
152232
- var version = "0.2.12";
152233
+ var version = "0.2.13";
152233
152234
 
152234
152235
  //#endregion
152235
152236
  //#region src/commands/projects/ls.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lalph",
3
3
  "type": "module",
4
- "version": "0.2.12",
4
+ "version": "0.2.13",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
package/src/Worktree.ts CHANGED
@@ -120,6 +120,7 @@ const setupWorktree = Effect.fnUntraced(function* (options: {
120
120
 
121
121
  if (shouldUseWorktree) {
122
122
  const parsed = parseBranch(targetBranch.value)
123
+ yield* options.exec`git fetch ${parsed.remote}`
123
124
  const code = yield* options.exec`git checkout ${parsed.branchWithRemote}`
124
125
  if (code !== 0) {
125
126
  yield* options.exec`git checkout -b ${parsed.branch}`