Files
git/git.c
Johannes Schindelin 7503ca808a fixup! git: avoid calling aliased builtins via their dashed form
When copy-pasting from execv_dashed_external(), the array index was
left unchanged even if we now have an array with `git` shifted in.

Instead of adjusting the array index, simply use the original array.

While at it, also reorder the loop until after the potential early
exit.

Pointed out by Akinori Hattori in

https://github.com/git-for-windows/git/issues/1077#issuecomment-283905530

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2017-03-03 17:05:08 +01:00

20 KiB