Browse Source

git-repack: Usage string clean-up, emit usage at incorrect invocation

Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
freku045@student.liu.se 19 years ago committed by Junio C Hamano
parent
commit
9678faaaff
  1. 3
      git-repack.sh

3
git-repack.sh

@ -3,6 +3,7 @@
# Copyright (c) 2005 Linus Torvalds # Copyright (c) 2005 Linus Torvalds
# #


USAGE='[-a] [-d] [-l] [-n]'
. git-sh-setup . git-sh-setup
no_update_info= all_into_one= remove_redundant= local= no_update_info= all_into_one= remove_redundant= local=
@ -13,7 +14,7 @@ do
-a) all_into_one=t ;; -a) all_into_one=t ;;
-d) remove_redundant=t ;; -d) remove_redundant=t ;;
-l) local=t ;; -l) local=t ;;
*) break ;; *) usage ;;
esac esac
shift shift
done done

Loading…
Cancel
Save