mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-25 10:36:03 -05:00
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>
20 KiB
20 KiB