git-watchtower 1.9.11 → 1.9.12

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.
@@ -1403,7 +1403,6 @@ async function switchToBranch(branchName, recordHistory = true) {
1403
1403
  const hasLocal = localBranches.split('\n').some(b => b.trim().replace(/^\* /, '') === safeBranchName);
1404
1404
 
1405
1405
  if (hasLocal) {
1406
- await execGitSilent(['checkout', '--', '.'], { cwd: PROJECT_ROOT });
1407
1406
  await execGit(['checkout', safeBranchName], { cwd: PROJECT_ROOT });
1408
1407
  } else {
1409
1408
  await execGit(['checkout', '-b', safeBranchName, `${REMOTE_NAME}/${safeBranchName}`], { cwd: PROJECT_ROOT });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-watchtower",
3
- "version": "1.9.11",
3
+ "version": "1.9.12",
4
4
  "description": "Terminal-based Git branch monitor with activity sparklines and optional dev server with live reload",
5
5
  "main": "bin/git-watchtower.js",
6
6
  "bin": {