diff options
author | Brian Gernhardt <benji@silverinsanity.com> | 2006-12-22 08:56:25 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-22 23:17:20 -0800 |
commit | c321f00d09f56dcf2f149757a2a337f3732f3097 (patch) | |
tree | 8c510e21b9456ddb49d054490705ba4e895b47fa /Documentation | |
parent | 4b1552238ec3b8b711f60b2b65265a751a40f5ff (diff) | |
download | git-c321f00d09f56dcf2f149757a2a337f3732f3097.tar.gz git-c321f00d09f56dcf2f149757a2a337f3732f3097.tar.xz |
Keep "git --git-dir" from causing a bus error.
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions