summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-09-07 13:45:42 +0200
committerJunio C Hamano <gitster@pobox.com>2022-09-07 12:36:43 -0700
commit2b43dd0eb5f3f035b9bd9d019ec405dd55ec15e1 (patch)
tree92c3fcb6ac0c2d1a20cc7e883c87cff6fe3037df /builtin/commit-graph.c
parent07a6f94a6d06947d325881460a3798dda0a98cf8 (diff)
diff-no-index: simplify argv index calculation
Since 16bb3d714d (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 <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions