@@ -28,6 +28,17 @@ tug = ['bookmark', 'move', '--from', 'closest_bookmark(@)', '--to', 'closest_pus
'closest_bookmark(to)' = 'heads(::to & bookmarks())'
'closest_pushable(to)' = 'heads(::to & mutable() & ~description(exact:"") & (~empty() | merges()))'
+[templates]
+draft_commit_description = '''
+concat(
+ description,
+ "\nJJ: This commit contains the following changes:\n",
+ indent("JJ: ", diff.stat(72)),
+ "JJ: ignore-rest\n",
+ diff.git(),
+)
+'''
+
[template-aliases]
'format_short_signature(signature)' = 'coalesce(signature.email().local(), email_placeholder)'
log_medium = '''