Cleanup unnecessary break in remote.c
commit7dfee372b08f653c2709c90bea986e4ed608f410
authorShawn O. Pearce <spearce@spearce.org>
Tue, 25 Sep 2007 04:13:19 +0000 (25 00:13 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Sep 2007 06:25:19 +0000 (24 23:25 -0700)
tree552c6f27e3f1235e1fb7c09f07ce3e02d2b58f67
parent009c5bcd24da3cd2670962e405585e31d662487d
Cleanup unnecessary break in remote.c

This simple change makes the body of "case 0" easier to read; no
matter what the value of matched_src is we want to break out of
the switch and not fall through.  We only want to display an error
if matched_src is NULL, as this indicates there is no local branch
matching the input.

Also modified the default case's error message so it uses one less
line of text.  Even at 8 column per tab indentation we still don't
break 80 columns with this new formatting.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c