jj: Add revset alias for current git head
Adds a very simple 'githead' revset alias. This is not much simpler than directly invoking `git_head()` but it will remind me in the future of its existence.
This commit is contained in:
parent
98dca7ec04
commit
dc7bf66052
1 changed files with 1 additions and 0 deletions
|
@ -40,3 +40,4 @@ log = "ancestors(@, 5) | ancestors(trunk()..(visible_heads() & mine()), 2) | tru
|
|||
"downstream(x,y)" = "(x::y) & y"
|
||||
"branches" = "downstream(trunk(), bookmarks()) & mine()"
|
||||
"curbranch" = "latest(branches::@- & branches)"
|
||||
"githead" = "::git_head()"
|
||||
|
|
Loading…
Reference in a new issue