Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
diff-no-index: simplify argv index calculation
Since 16bb3d7 (diff --no-index: use parse_options() instead of diff_opt_parse(), 2019-03-24) argc must be 2 if we reach the loop, i.e. argc - 2 == 0. Remove that inconsequential term. Signed-off-by: René Scharfe <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
- Loading branch information