jj: set immutable heads
This commit is contained in:
parent
20846ca2ac
commit
58837c4f50
1 changed files with 6 additions and 0 deletions
|
@ -13,3 +13,9 @@ la = ["log", "--ignore-working-copy", "-r", "all()"]
|
|||
b = ["branch", "list"]
|
||||
n = ["new", "main"]
|
||||
d = ["diff"]
|
||||
|
||||
[revset-aliases]
|
||||
# The `main.. &` bit is an optimization to scan for non-`mine()` commits only
|
||||
# among commits that are not in `main`.
|
||||
"immutable_heads()" = "main@origin | (main@origin.. & ~mine())"
|
||||
|
||||
|
|
Loading…
Reference in a new issue