author | Conrad Irwin <conrad.irwin@gmail.com> | |
Sat, 20 Aug 2011 21:49:49 +0000 (14:49 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 22 Aug 2011 23:03:43 +0000 (16:03 -0700) | ||
commit | 587a9ee7da348f5e6696720d770d0e0da597827c | |
tree | a5d378daeaec78a7d513056071b78c419b0ed515 | tree | snapshot |
parent | 55c4a673070f40f2ef12d0be269e95f1df6825a9 | commit | diff |
Show interpreted branch name in error messages
Change the error message when doing: "git branch @{-1}",
"git checkout -b @{-1}", or "git branch -m foo @{-1}"
* was: A branch named '@{-1}' already exists.
* now: A branch named 'bar' already exists.
Signed-off-by: Conrad Irwin <conrad.irwin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Change the error message when doing: "git branch @{-1}",
"git checkout -b @{-1}", or "git branch -m foo @{-1}"
* was: A branch named '@{-1}' already exists.
* now: A branch named 'bar' already exists.
Signed-off-by: Conrad Irwin <conrad.irwin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.c | diff | blob | history | |
t/t2018-checkout-branch.sh | diff | blob | history |