Warn use of "origin" when remotes/origin/HEAD is dangling
commit057e71384a0eff83236268dcd3ff7ebc7789de74
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Feb 2009 07:52:01 +0000 (8 23:52 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Feb 2009 06:26:32 +0000 (10 22:26 -0800)
treeb599fded5625c3489f60568ba482df9ba3e71dbc
parentf8948e2fbc7fbd63e81006408965e3e89380bfaa
Warn use of "origin" when remotes/origin/HEAD is dangling

The previous one squelched the diagnositic message we used to issue every
time we enumerated the refs and noticed a dangling ref.  This adds the
warning back to the place where the user actually attempts to use it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c
t/t5505-remote.sh