Skip to content

Commit 088c7d8

Browse files
committed
users: reorder date and committer data in jj
1 parent dc87f35 commit 088c7d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/shared/home-manager/vcs.nix

+4-4
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,13 @@
149149
format_short_commit_id(self.commit_id()),
150150
self.bookmarks(),
151151
self.tags(),
152-
if(author.name() && author.email(), separate(" as ", author.email().local(), author.name())),
152+
self.working_copies(),
153+
if(self.git_head(), label("git_head", "git_head()")),
154+
commit_timestamp(self).local().format("%Y-%m-%d"),
155+
if(author.name() && author.email(), concat("by ", separate(" as ", author.email().local(), author.name()))),
153156
if(author.name() && !author.email(), author.name()),
154157
if(!author.name() && author.email(), author.email().local()),
155158
if(!author.name() && !author.email(), email_placeholder),
156-
commit_timestamp(self).local().format("%Y-%m-%d"),
157-
self.working_copies(),
158-
if(self.git_head(), label("git_head", "git_head()")),
159159
if(config("ui.show-cryptographic-signatures").as_boolean(),
160160
format_short_cryptographic_signature(self.signature())),
161161
)

0 commit comments

Comments
 (0)