This commit is contained in:
2025-12-07 19:33:44 +00:00
parent ac34e578ff
commit b5a0ab8df5
2 changed files with 44 additions and 28 deletions

View File

@@ -6,6 +6,9 @@
name = "Christoph Schmatzler";
email = "christoph@schmatzler.com";
};
git = {
write-change-id-header = true;
};
diff = {
tool = "delta";
};
@@ -22,6 +25,19 @@
revset-aliases = {
"closest_bookmark(to)" = "heads(::to & bookmarks())";
};
templates = {
draft_commit_description = ''
concat(
coalesce(description, default_commit_description, "\n"),
surround(
"\nJJ: This commit contains the following changes:\n", "",
indent("JJ: ", diff.stat(72)),
),
"\nJJ: ignore-rest\n",
diff.git(),
)
'';
};
};
};
}