Improve error message about fetch into current branch
authorAlex Riesen <raa.lkml@gmail.com>
Sun, 22 Mar 2009 22:07:33 +0000 (23:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Mar 2009 00:13:08 +0000 (17:13 -0700)
commit26284f9356f4c4d8865db8bb024121311a1f90ff
tree491bc9fd8eb62c518ad0d48188f18a3d99f0faf9
parent636991be2d2ce8368cd6735473954b1ebfa989bf
Improve error message about fetch into current branch

Otherwise, it is hard to guess why the fetch failed.
Make sure we at least mention that the repository must be bare.
Also the current branch is printed.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c