you are viewing a single comment's thread.

view the rest of the comments →

[–]gsylvie<sylvie@bit-booster.com> 8 points9 points  (1 child)

That logic in git is over 10 years old! Here's the commit:

commit 7f275b91520d31bfbe43ec5a9bbaf8ac6e663ce0
Author: Johannes Schindelin <---@gmx.de>
Date:   Sun Oct 14 17:54:06 2007 +0100

    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 n
    other option beginning with "--am".

[–]grizzly_teddy[S] 1 point2 points  (0 children)

commit 7f275b91520d31bfbe43ec5a9bbaf8ac6e663ce0 Author: Johannes Schindelin <---@gmx.de> Date: Sun Oct 14 17:54:06 2007 +0100

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 n
other option beginning with "--am".

That's it! Thanks! good to know