gitbash 2.0.0 → 2.0.1
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/commands/cleanup.sh +1 -1
- package/commands/stale.sh +2 -2
- package/package.json +1 -1
package/commands/cleanup.sh
CHANGED
|
@@ -178,7 +178,7 @@ EOF
|
|
|
178
178
|
fi
|
|
179
179
|
entries+=("$preselect|$label|$ts|$branch|$rel|$email|$unpushed|$name")
|
|
180
180
|
done < <(git for-each-ref \
|
|
181
|
-
--format="%(refname:short)%1f%(committerdate:unix)%1f%(committerdate:relative)%1f%(
|
|
181
|
+
--format="%(refname:short)%1f%(committerdate:unix)%1f%(committerdate:relative)%1f%(authoremail)%1f%(upstream:short)%1f%(upstream:track)%1f%(authorname)" \
|
|
182
182
|
refs/heads 2>/dev/null)
|
|
183
183
|
|
|
184
184
|
# Pre-selected first, then newest first
|
package/commands/stale.sh
CHANGED
|
@@ -63,7 +63,7 @@ Examples:
|
|
|
63
63
|
$ stale --json
|
|
64
64
|
|
|
65
65
|
Output format:
|
|
66
|
-
<branch-name> <relative-date> <last
|
|
66
|
+
<branch-name> <relative-date> <last author>
|
|
67
67
|
|
|
68
68
|
Requirements:
|
|
69
69
|
- Must be in a git repository
|
|
@@ -167,7 +167,7 @@ EOF
|
|
|
167
167
|
stale_list+="$row"
|
|
168
168
|
fi
|
|
169
169
|
done < <(git for-each-ref --sort=committerdate \
|
|
170
|
-
--format="%(refname:short)%1f%(committerdate:unix)%1f%(committerdate:relative)%1f%(
|
|
170
|
+
--format="%(refname:short)%1f%(committerdate:unix)%1f%(committerdate:relative)%1f%(authoremail)%1f%(authorname)" \
|
|
171
171
|
"refs/remotes/$remote" 2>/dev/null)
|
|
172
172
|
|
|
173
173
|
if [[ "$json_mode" == true ]]; then
|