branch: externals/vc-jj
commit f5e63ac7b51b86637172e551d33d716160221b72
Author: Kristoffer Balintona <[email protected]>
Commit: Kristoffer Balintona <[email protected]>
fix: Address git_head deprecation in jj v0.37.0
Fixes #153
---
vc-jj.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vc-jj.el b/vc-jj.el
index eff2d93708..42b1672051 100644
--- a/vc-jj.el
+++ b/vc-jj.el
@@ -105,7 +105,7 @@ if(root,
bookmarks,
tags,
working_copies,
- if(git_head, label('git_head', 'git_head()')),
+ if(self.contained_in('first_parent(@)'), label('git_head',
'git_head()')),
format_short_commit_id(commit_id),
if(conflict, label('conflict', 'conflict')),
if(config('ui.show-cryptographic-signatures').as_boolean(),