diff --git a/home.nix b/home.nix index 1ceaf7e..3b78f3c 100644 --- a/home.nix +++ b/home.nix @@ -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(), + ) + ''; }; };