author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sun, 14 Oct 2007 16:54:06 +0000 (17:54 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 30 Oct 2007 04:03:30 +0000 (21:03 -0700) | ||
commit | 7f275b91520d31bfbe43ec5a9bbaf8ac6e663ce0 | |
tree | 3e21e4a89617c56b47b7d4d1f2312198a8641de9 | tree | snapshot |
parent | 0ce865b134f8ccd60f6e584744144b0978a9fdf2 | commit | diff |
parse-options: Allow abbreviated options when unambiguous
When there is an option "--amend", the option parser now recognizes
"--am" for that option, provided that there is no other option beginning
with "--am".
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
When there is an option "--amend", the option parser now recognizes
"--am" for that option, provided that there is no other option beginning
with "--am".
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
parse-options.c | diff | blob | history | |
t/t0040-parse-options.sh | diff | blob | history |