-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjjconfig.toml
More file actions
34 lines (29 loc) · 1.16 KB
/
jjconfig.toml
File metadata and controls
34 lines (29 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
user.name =
user.email =
#merge-tools.vimdiff.merge-tool-edits-conflict-markers = true
[ui]
default-command = ["log", "-T", "builtin_log_oneline"]
[aliases]
sl = ["log", "-T", "builtin_log_oneline", "-r", "::@"]
[git]
# Prevent pushing work in progress or anything explicitly labeled "private"
private-commits = "description(glob:'wip:*') | description(glob:'private:*')"
[templates]
# Show the whole description, use the sl alias for the short oneliner one
#log = "builtin_log_compact_full_description"
log = '''
concat(
"Change ID: " ++ change_id.shortest(12) ++ "\tGit ID: " ++ commit_id.shortest(12) ++ "\n",
surround("Bookmarks: ", "\n", separate(" ", local_bookmarks, remote_bookmarks)),
surround("Tags : ", "\n", tags),
"Author: " ++ format_detailed_signature(author) ++ "\n",
if(author.email() != committer.email(),
"Committer: " ++ format_detailed_signature(committer) ++ "\n"),
if(config("ui.show-cryptographic-signatures").as_boolean(),
"Signature: " ++ format_detailed_cryptographic_signature(signature) ++ "\n"),
"\n",
indent(" ",
coalesce(description, label(if(empty, "empty"), description_placeholder) ++ "\n")),
"\n",
)
'''