fix complaint about jj log -l being deprecated

This commit is contained in:
Valentin Boettcher 2024-08-23 19:09:36 -04:00
parent 8aec3208d7
commit 7488eb4b17

View file

@ -86,7 +86,7 @@ def lighten_color(color, amount=0.5):
def get_jj_info(type):
return subprocess.run(
["jj", "log", "-T", type, "-l", "1", "--no-graph"],
["jj", "log", "-T", type, "-n", "1", "--no-graph"],
stdout=subprocess.PIPE,
).stdout.decode("utf-8")