diff options
| author | tslil <tslil@posteo.de> | 2025-12-22 12:03:29 +0000 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2025-12-22 12:03:42 +0000 |
| commit | c1cfc81aca065ee3342cb61dcd1d1072b1174c1f (patch) | |
| tree | d3c0dbeb05a73c2907a9b0c8c107ecf1c6019b81 | |
| parent | 3962882aa4f63c382153513ac22c2808785e059d (diff) | |
[jj] add two aliases, draft_commit_description
| -rw-r--r-- | jj_config.toml | 12 |
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(), + )''' |
