Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gernhardt <benji@silverinsanity.com>2006-12-22 16:56:25 +0300
committerJunio C Hamano <junkio@cox.net>2006-12-23 10:17:20 +0300
commitc321f00d09f56dcf2f149757a2a337f3732f3097 (patch)
tree8c510e21b9456ddb49d054490705ba4e895b47fa /builtin-show-branch.c
parent4b1552238ec3b8b711f60b2b65265a751a40f5ff (diff)
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 'builtin-show-branch.c')
0 files changed, 0 insertions, 0 deletions