dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 0cc837f7035760367b964251d9d9311d90373be7
parent 5737bb2f8b76a0814129413fe6013215b6d0e978
Author: Chris Bracken <chris@bracken.jp>
Date:   Sat, 10 Jan 2026 12:33:50 +0900

Replace git_head with commit.contained_in("first_parent(@)")

From the jj 0.37.0 release notes: The git_head() and git_refs()
functions will be removed from revsets and templates. git_head() should
point to the first_parent(@) revision in colocated repositories.
git_refs() can be approximated as remote_bookmarks(remote=glob:*) |
tags().

Diffstat:
M.config/jj/config.toml | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.config/jj/config.toml b/.config/jj/config.toml @@ -22,7 +22,7 @@ label("author", author.name()) ++ " " ++ separate(" ", bookmarks, tags, - if(git_head, label("git_head", "git_head()")), + if(self.contained_in("first_parent(@)"), label("git_head", "git_head()")), if(empty, label("empty", "(empty)")), if(description, description.first_line(),