Skip to content

Commit 624cd42

Browse files
committed
Update commit formatting in common.sh
1 parent fae5fde commit 624cd42

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ if(commit.root(),
6161
),
6262
concat(
6363
separate(" ",
64-
format_short_change_id_with_hidden_and_divergent_info(commit),
64+
format_short_change_id_with_change_offset(commit),
6565
format_short_signature_oneline(commit.author()),
6666
format_timestamp(commit_timestamp(commit)),
6767
commit.commit_id().short(20),
6868
commit.bookmarks(),
6969
commit.tags(),
7070
commit.working_copies(),
7171
if(commit.git_head(), label("git_head", "git_head()")),
72-
if(commit.conflict(), label("conflict", "conflict")),
72+
format_commit_labels(commit),
7373
if(config("ui.show-cryptographic-signatures").as_boolean(),
7474
format_short_cryptographic_signature(commit.signature())),
7575
if(commit.empty(), label("empty", "(empty)")),

lib/evolog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ TITLE='Evolution Log'
2323
export JJFZF_EVOLOG_SRC=$(jj --no-pager --ignore-working-copy log --no-graph -T commit_id -r "${1-@}")
2424
LONG_IDS="--config=template-aliases.'format_short_change_id(id)'='id.shortest(32)'"
2525
FOOTER="$TITLE for Change ID:"$'\n'
26-
FOOTER="$FOOTER"$(jj --no-pager --ignore-working-copy log --no-graph $LONG_IDS $JJFZF_COLOR -T 'format_short_change_id_with_hidden_and_divergent_info(self)' -r "${1-@}")
26+
FOOTER="$FOOTER"$(jj --no-pager --ignore-working-copy log --no-graph $LONG_IDS $JJFZF_COLOR -T 'format_short_change_id_with_change_offset(self)' -r "${1-@}")
2727
jjfzf_log_detailed # for preview, assigns $JJFZF_LOG_DETAILED_CONFIG
2828
B=() H=()
2929

0 commit comments

Comments
 (0)