Skip to content

Commit 7cbebeb

Browse files
saphidclaude
andcommitted
fix(server): range context ignores log.decorate
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 6e6b528 commit 7cbebeb

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/server/src/vcs/GitVcsDriverCore.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2856,6 +2856,7 @@ it.layer(layerTest)("GitVcsDriver core integration", (it) => {
28562856
yield* git(cwd, ["config", "diff.probe.textconv", "touch textconv-ran; echo converted"]);
28572857
yield* git(cwd, ["config", "color.ui", "always"]);
28582858
yield* git(cwd, ["config", "diff.relative", "true"]);
2859+
yield* git(cwd, ["config", "log.decorate", "short"]);
28592860
yield* git(cwd, ["checkout", "-b", "feature/range"]);
28602861
yield* writeTextFile(cwd, ".gitattributes", "*.doc diff=probe\n");
28612862
yield* writeTextFile(cwd, "notes.doc", "source line\n");
@@ -2879,7 +2880,6 @@ it.layer(layerTest)("GitVcsDriver core integration", (it) => {
28792880
yield* git(cwd, ["config", "gpg.ssh.program", "ssh-keygen"]);
28802881
yield* git(cwd, ["config", "user.signingkey", `${signingKey}.pub`]);
28812882
yield* git(cwd, ["config", "log.showSignature", "true"]);
2882-
yield* git(cwd, ["config", "log.decorate", "false"]);
28832883
yield* git(cwd, ["commit", "-S", "-m", "range files"]);
28842884
const driver = yield* GitVcsDriver.GitVcsDriver;
28852885
const fileSystem = yield* FileSystem.FileSystem;

‎apps/server/src/vcs/GitVcsDriverCore.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2946,6 +2946,7 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function*
29462946
"log",
29472947
"--oneline",
29482948
"--no-color",
2949+
"--no-decorate",
29492950
"--no-show-signature",
29502951
"--end-of-options",
29512952
commitRange,

0 commit comments

Comments
 (0)