gitk: Disable checkout of remote branches
commit70a5fc443acbd1fe69cc21c10190375facabaf93
authorSitaram Chamarty <sitaramc@gmail.com>
Tue, 3 Nov 2009 16:00:12 +0000 (3 21:30 +0530)
committerPaul Mackerras <paulus@samba.org>
Sat, 14 Nov 2009 10:19:11 +0000 (14 21:19 +1100)
treeedf0a31fb25a97e9b6d21b204f47446464bede0a
parent51a7e8b654a0f06dde6f66ae89a35297cea09168
gitk: Disable checkout of remote branches

At the command line, trying to check out a remote branch gives you a
detailed warning message, but the gitk GUI currently allows it without
any fuss.

Since the GUI is often used by people much less familiar with git, it
seems reasonable to make the GUI more restrictive than the command line,
not less.

This prevents a lot of detached HEAD commits by new users.

Signed-off-by: Sitaram Chamarty <sitaramc@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk