Skip to content

Commit df905af

Browse files
committed
chore: use full git status output in session backup
1 parent f1d844b commit df905af

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/session-backup-gist.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const execCommand = (command, options = {}) => {
140140
};
141141

142142
const getGitStatus = () => {
143-
const status = execCommand("git status --short");
143+
const status = execCommand("git status");
144144
if (status === null) {
145145
return null;
146146
}
@@ -151,7 +151,7 @@ const getGitStatus = () => {
151151
};
152152

153153
const printGitStatus = (status) => {
154-
console.log("[session-backup] git status --short:");
154+
console.log("[session-backup] git status:");
155155
if (status === null) {
156156
console.log("[session-backup] (unavailable)");
157157
return;
@@ -454,7 +454,7 @@ const buildCommentBody = ({ source, manifestUrl, readmeUrl, summary, gitStatus }
454454
`Files: ${summary.fileCount} (${formatBytes(summary.totalBytes)})`,
455455
`Links: [README](${readmeUrl}) | [Manifest](${manifestUrl})`,
456456
"",
457-
"`git status --short`",
457+
"`git status`",
458458
"```",
459459
statusText,
460460
"```",

0 commit comments

Comments
 (0)