[BUG] potential error in parsing git checkout options?
- From
- Guillaume Pages <guillaume.pages@ensimag.grenoble-inp.fr>
- Date
- May 29, 2015, 10:30 UTC
- Message-ID
- <854038739.144343.1432895421483.JavaMail.zimbra@ensimag.grenoble-inp.fr>
- In-Reply-To
- <156258182.144342.1432895411512.JavaMail.zimbra@ensimag.grenoble-inp.fr>
Git version : 2.4.1.652.g8fd8657
When we run git checkout -babar, we would expect an error message like "unknown switch 'a' " and we get "Switched to a new branch 'abar'". We are not sure since we don't entirely understand the syntax -b <branch> which is shown in the documentation, but as average users, we found it a bit surprising.
Guillaume Pagès