Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
trivial: use git-repo-config to detect if the test can be run on the repository
[gitweb.git]
/
git-repack.sh
diff --git
a/git-repack.sh
b/git-repack.sh
index 430ddc5a706945035149464d0bea8f25acc21d3c..1fafb6ecf6ffbac817865470ec923af203da8e7e 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