mirror of
https://github.com/git/git.git
synced 2026-01-13 20:30:48 +00: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