tangled
alpha
login
or
join now
anirudh.fi
/
dotfiles
5
fork
atom
my nix dotfiles
5
fork
atom
overview
issues
pulls
pipelines
programs: enable jj's change-id header
anirudh.fi
10 months ago
7430dd3a
0817dcd6
verified
This commit was signed with the committer's
known signature
.
anirudh.fi
SSH Key Fingerprint:
SHA256:cz35vdbiWEzCNEfuL9fMC2JVIhtXavXBHrRjv8gxpAk=
+39
1 changed file
expand all
collapse all
unified
split
programs
jujutsu.nix
+39
programs/jujutsu.nix
···
10
10
name = "Anirudh Oppiliappan";
11
11
email = "x@icyphox.sh";
12
12
};
13
13
+
14
14
+
signing = {
15
15
+
behavior = "own";
16
16
+
backend = "ssh";
17
17
+
key = "~/.ssh/id_ed25519.pub";
18
18
+
};
19
19
+
20
20
+
git.sign-on-push = true;
21
21
+
git.write-change-id-header = true;
22
22
+
13
23
ui.paginate = "never";
24
24
+
ui.default-command = [ "log" "-n" "10" ];
25
25
+
template-aliases = {
26
26
+
custom_log_compact = ''
27
27
+
if(root,
28
28
+
format_root_commit(self),
29
29
+
label(if(current_working_copy, "working_copy"),
30
30
+
concat(
31
31
+
separate(" ",
32
32
+
format_short_change_id_with_hidden_and_divergent_info(self),
33
33
+
author.name(),
34
34
+
bookmarks,
35
35
+
tags,
36
36
+
working_copies,
37
37
+
if(conflict, label("conflict", "conflict")),
38
38
+
if(empty, label("empty", "(empty)")),
39
39
+
if(description,
40
40
+
description.first_line(),
41
41
+
label(if(empty, "empty"), description_placeholder),
42
42
+
),
43
43
+
) ++ "\n",
44
44
+
),
45
45
+
)
46
46
+
)
47
47
+
'';
48
48
+
};
49
49
+
50
50
+
templates = {
51
51
+
log = "custom_log_compact";
52
52
+
};
14
53
};
15
54
};
16
55
}