]> git.ipfire.org Git - thirdparty/git.git/commit - sha1-name.c
Provide better message for barnhc_wiht_tpyo@{u}
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 14 Apr 2012 07:54:33 +0000 (09:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 15 Apr 2012 21:25:19 +0000 (14:25 -0700)
commitbb0dab5d617219d7efe8815cadef6d98c4bc3df8
tree41472887fbae6fea7373ae94380e9ed3115dd233
parent9884e67f9d9b511592b981572cfbb30cc50aec61
Provide better message for barnhc_wiht_tpyo@{u}

Instead of just saying that no upstream exists for such branch,
which is true but not very helpful, check that there's no
refs/heads/barnhc_wiht_tpyo and tell it to the user.

Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c
t/t1507-rev-parse-upstream.sh