mirror of
https://github.com/git/git.git
synced 2025-12-23 12:14:22 +01: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