git-watchtower 2.1.3 → 2.1.4

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.
@@ -1091,7 +1091,7 @@ async function refreshAllSparklines() {
1091
1091
  try {
1092
1092
  // Get commit counts for last 7 days (try remote, fall back to local)
1093
1093
  const sparkResult = await execGitOptional(
1094
- ['log', `origin/${branch.name}`, '--since=7 days ago', '--format=%ad', '--date=format:%Y-%m-%d'],
1094
+ ['log', `${REMOTE_NAME}/${branch.name}`, '--since=7 days ago', '--format=%ad', '--date=format:%Y-%m-%d'],
1095
1095
  { cwd: PROJECT_ROOT }
1096
1096
  ) || await execGitOptional(
1097
1097
  ['log', branch.name, '--since=7 days ago', '--format=%ad', '--date=format:%Y-%m-%d'],
@@ -1130,7 +1130,7 @@ async function getPreviewData(branchName) {
1130
1130
  try {
1131
1131
  // Get last 5 commits (try remote, fall back to local)
1132
1132
  const logResult = await execGitOptional(
1133
- ['log', `origin/${branchName}`, '-5', '--oneline'],
1133
+ ['log', `${REMOTE_NAME}/${branchName}`, '-5', '--oneline'],
1134
1134
  { cwd: PROJECT_ROOT }
1135
1135
  ) || await execGitOptional(
1136
1136
  ['log', branchName, '-5', '--oneline'],
@@ -1146,7 +1146,7 @@ async function getPreviewData(branchName) {
1146
1146
  // Get files changed (comparing to current branch)
1147
1147
  let filesChanged = [];
1148
1148
  const diffResult = await execGitOptional(
1149
- ['diff', '--stat', '--name-only', `HEAD...origin/${branchName}`],
1149
+ ['diff', '--stat', '--name-only', `HEAD...${REMOTE_NAME}/${branchName}`],
1150
1150
  { cwd: PROJECT_ROOT }
1151
1151
  ) || await execGitOptional(
1152
1152
  ['diff', '--stat', '--name-only', `HEAD...${branchName}`],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-watchtower",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
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": {