author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Mon, 5 Nov 2007 13:15:21 +0000 (13:15 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 6 Nov 2007 06:46:45 +0000 (22:46 -0800) | ||
commit | 243e0614e0f8783599b20106b50eee56d0a17332 | |
tree | bbf71c989e779c482a301624bfea17a8c66e4e2b | tree | snapshot |
parent | fe61935007b6803ce116e233316e4ff51de02be6 | commit | diff |
parse-options: abbreviation engine fix.
When an option could be an ambiguous abbreviation of two options, the code
used to error out. Even if an exact match would have occured later.
Test and original patch by Pierre Habouzit.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When an option could be an ambiguous abbreviation of two options, the code
used to error out. Even if an exact match would have occured later.
Test and original patch by Pierre Habouzit.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c | diff | blob | history | |
t/t0040-parse-options.sh | diff | blob | history | |
test-parse-options.c | diff | blob | history |