mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-03 05:12:56 -05:00
The option checking code for --git-dir had an off by 1 error that would cause it to access uninitialized memory if it was the last argument. This causes it to display an error and display the usage string instead. Signed-off-by: Brian Gernhardt <benji@silverinsanity.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
9.4 KiB
9.4 KiB