tangled
alpha
login
or
join now
wiro.world
/
dotfiles
2
fork
atom
yep, more dotfiles
2
fork
atom
overview
issues
1
pulls
1
pipelines
feat(jujutsu): use a minimalistic template for jj log
wiro.world
11 months ago
c9a455f0
fb1e00fc
+31
1 changed file
expand all
collapse all
unified
split
home-manager
fragments
jujutsu.nix
+31
home-manager/fragments/jujutsu.nix
···
33
33
git.sign-on-push = true;
34
34
};
35
35
36
36
+
template-aliases = {
37
37
+
custom_log_compact = ''
38
38
+
if(root,
39
39
+
format_root_commit(self),
40
40
+
label(if(current_working_copy, "working_copy"),
41
41
+
concat(
42
42
+
separate(" ",
43
43
+
format_short_change_id_with_hidden_and_divergent_info(self),
44
44
+
format_short_signature_oneline(author),
45
45
+
bookmarks,
46
46
+
tags,
47
47
+
working_copies,
48
48
+
if(conflict, label("conflict", "conflict")),
49
49
+
if(config("ui.show-cryptographic-signatures").as_boolean(),
50
50
+
format_short_cryptographic_signature(signature)),
51
51
+
if(empty, label("empty", "(empty)")),
52
52
+
if(description,
53
53
+
description.first_line(),
54
54
+
label(if(empty, "empty"), description_placeholder),
55
55
+
),
56
56
+
) ++ "\n",
57
57
+
),
58
58
+
)
59
59
+
)
60
60
+
'';
61
61
+
};
62
62
+
63
63
+
templates = {
64
64
+
log = "custom_log_compact";
65
65
+
};
66
66
+
36
67
ui = {
37
68
default-command = "log";
38
69