+39
programs/jujutsu.nix
+39
programs/jujutsu.nix
···
10
10
name = "Anirudh Oppiliappan";
11
11
email = "x@icyphox.sh";
12
12
};
13
+
14
+
signing = {
15
+
behavior = "own";
16
+
backend = "ssh";
17
+
key = "~/.ssh/id_ed25519.pub";
18
+
};
19
+
20
+
git.sign-on-push = true;
21
+
git.write-change-id-header = true;
22
+
13
23
ui.paginate = "never";
24
+
ui.default-command = [ "log" "-n" "10" ];
25
+
template-aliases = {
26
+
custom_log_compact = ''
27
+
if(root,
28
+
format_root_commit(self),
29
+
label(if(current_working_copy, "working_copy"),
30
+
concat(
31
+
separate(" ",
32
+
format_short_change_id_with_hidden_and_divergent_info(self),
33
+
author.name(),
34
+
bookmarks,
35
+
tags,
36
+
working_copies,
37
+
if(conflict, label("conflict", "conflict")),
38
+
if(empty, label("empty", "(empty)")),
39
+
if(description,
40
+
description.first_line(),
41
+
label(if(empty, "empty"), description_placeholder),
42
+
),
43
+
) ++ "\n",
44
+
),
45
+
)
46
+
)
47
+
'';
48
+
};
49
+
50
+
templates = {
51
+
log = "custom_log_compact";
52
+
};
14
53
};
15
54
};
16
55
}