projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae39ab
)
git-repack: Usage string clean-up, emit usage at incorrect invocation
author
freku045@student.liu.se
<freku045@student.liu.se>
Tue, 13 Dec 2005 22:30:32 +0000
(23:30 +0100)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 14 Dec 2005 10:53:44 +0000
(
02:53
-0800)
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-repack.sh
patch
|
blob
|
history
diff --git
a/git-repack.sh
b/git-repack.sh
index
430ddc5
..
1fafb6e
100755
(executable)
--- a/
git-repack.sh
+++ b/
git-repack.sh
@@
-3,6
+3,7
@@
# Copyright (c) 2005 Linus Torvalds
#
+USAGE='[-a] [-d] [-l] [-n]'
. git-sh-setup
no_update_info= all_into_one= remove_redundant= local=
@@
-13,7
+14,7
@@
do
-a) all_into_one=t ;;
-d) remove_redundant=t ;;
-l) local=t ;;
- *)
break
;;
+ *)
usage
;;
esac
shift
done