Skip to content

Commit

Permalink
Fix tig blame --reverse
Browse files Browse the repository at this point in the history
Fixes #1300
  • Loading branch information
koutcher committed Nov 2, 2023
1 parent df07aff commit e543cfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/blame.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ blame_open(struct view *view, enum open_flags flags)
opt_cmdline_args = NULL;
}

if (opt_commit_order == COMMIT_ORDER_REVERSE)
argv_append(&opt_blame_options, "--reverse");

/*
* flags (like "--max-age=123") and bottom limits (like "^foo")
* will be passed as-is, and retained even if we re-blame from
Expand Down

0 comments on commit e543cfe

Please sign in to comment.