+8
-9
private_dot_config/private_jj/config.toml
+8
-9
private_dot_config/private_jj/config.toml
···
76
76
push = ["util", "exec", "--", "bash", "-c", """
77
77
tuggable="$(jj log -r 'closest_bookmark(@)..closest_pushable(@)' -T '"n"' --no-graph)"
78
78
[[ -n "$tuggable" ]] && jj tug
79
-
pushable="$(jj log -r 'remote_bookmarks(remote=origin)..@' -T 'bookmarks' --no-graph)"
79
+
pushable="$(jj log -r 'remote_bookmarks(remote='exact:origin')..@' -T 'bookmarks' --no-graph)"
80
80
[[ -n "$pushable" ]] && jj git push || echo "Nothing to push."
81
81
closest="$(jj log -r 'closest_bookmark(@)' -n 1 -T 'bookmarks' --no-graph | cut -d ' ' -f 1)"
82
82
closest="${closest%\\*}"
···
141
141
142
142
'recent_work' = 'ancestors(visible_heads(), 3) & mutable()'
143
143
144
-
145
-
[git]
146
-
push-new-bookmarks = true
147
-
148
144
[user]
149
145
name = "André Arko"
150
146
email = "andre@arko.net"
···
167
163
diff-formatter = ":git"
168
164
169
165
[templates]
170
-
description_title = 'description.first_line().trim_end()'
171
-
description_body = 'description.remove_prefix(description.first_line()).trim_start()'
172
166
draft_commit_description = '''
173
167
concat(
174
168
coalesce(description, default_commit_description, "\n"),
···
180
174
diff.git(),
181
175
)
182
176
'''
183
-
184
-
[template-aliases]
185
177
log_with_files = '''
186
178
if(root,
187
179
format_root_commit(self),
···
200
192
)
201
193
)
202
194
'''
195
+
196
+
[template-aliases]
197
+
description_title = 'description.first_line().trim_end()'
198
+
description_body = 'description.remove_prefix(description.first_line()).trim_start()'
199
+
200
+
[remotes.origin]
201
+
auto-track-bookmarks = "glob:*"