瀏覽代碼

jj: only show author/committer email local part

raylu 5 月之前
父節點
當前提交
55d0903372
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      config/jj/config.toml

+ 3 - 0
config/jj/config.toml

@@ -26,3 +26,6 @@ tug = ['bookmark', 'move', '--from', 'closest_bookmark(@)', '--to', 'closest_pus
 [revset-aliases]
 'closest_bookmark(to)' = 'heads(::to & bookmarks())'
 'closest_pushable(to)' = 'heads(::to & mutable() & ~description(exact:"") & (~empty() | merges()))'
+
+[template-aliases]
+'format_short_signature(signature)' = 'coalesce(signature.email().local(), email_placeholder)'