feat(jujutsu): show diff in commit message

This commit is contained in:
Khaïs COLIN 2025-05-08 12:35:09 +02:00
parent 7f2ad0388a
commit ac5601f4a4

View file

@ -172,6 +172,17 @@ in {
patterns = ["glob:'**/*'"];
};
};
templates.draft_commit_description = ''
concat(
description,
surround(
"\nJJ: This commit contains the following changes:\n", "",
indent("JJ: ", diff.stat(72)),
),
"\nJJ: ignore-rest\n",
diff.git(),
)
'';
};
};