summaryrefslogtreecommitdiff
path: root/jj_config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'jj_config.toml')
-rw-r--r--jj_config.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/jj_config.toml b/jj_config.toml
index 2a1e809..1133129 100644
--- a/jj_config.toml
+++ b/jj_config.toml
@@ -5,6 +5,18 @@
[aliases]
tug = ["bookmark", "move", "--from", "closest_bookmark(@-)", "--to", "@-"]
+ml = ["log", "-r", "visible_heads() & mine()"]
+lf = ["log", "-r", "visible_heads()"]
[templates]
git_push_bookmark = '"tslil/push-" ++ change_id.short()'
+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(),
+ )'''