Code

[PATCH] Remove total confusion from "git checkout"
authorLinus Torvalds <torvalds@osdl.org>
Mon, 19 Sep 2005 17:11:18 +0000 (10:11 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 20 Sep 2005 00:35:30 +0000 (17:35 -0700)
commit3b944aac3b88773d1fae4352706915aad21f3757
tree13d87a56fc1c817a467b45f0ed6fc2ee2e9701d9
parentef34af24dc457f7a3ccfd8047e3d21e07f3f55e4
[PATCH] Remove total confusion from "git checkout"

The target to check out does not need to be a branch. The _result_ of the
checkout needs to be a branch. Don't confuse the two, and then insult the
user.

Insulting is ok, but I personally get really pissed off is a tool is both
confused and insulting. At least be _correct_ and insulting.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-checkout.sh