pull: do not abuse 'break' inside a shell 'case'
commit8f92c7755ef2e2802e24eeb3a7de1727045950c0
authorJacek Konieczny <jajcus@jajcus.net>
Wed, 11 Jun 2014 08:47:45 +0000 (11 10:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Jun 2014 19:15:49 +0000 (12 12:15 -0700)
tree0fd731fb104419de86f1bb34227ef71594fa0ef1
parentbce14aa132e0064d9a9b1c7ad98e71e22c6e0272
pull: do not abuse 'break' inside a shell 'case'

It is not C. The code would break under mksh when 'pull.ff' is set:

  $ git pull
  /usr/lib/git-core/git-pull[67]: break: can't break
  Already up-to-date.

Signed-off-by: Jacek Konieczny <jajcus@jajcus.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-pull.sh