projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make git-pack-redundant consider alt-odbs
[git.git]
/
git-repack.sh
diff --git
a/git-repack.sh
b/git-repack.sh
index
4ce0022
..
f347207
100755
(executable)
--- a/
git-repack.sh
+++ b/
git-repack.sh
@@
-45,7
+45,7
@@
if [ -z "$name" ]; then
if test "$remove_redandant" = t ; then
echo "Removing redundant packs."
sync
if test "$remove_redandant" = t ; then
echo "Removing redundant packs."
sync
- redundant=$(git-pack-redundant -
a
)
+ redundant=$(git-pack-redundant -
-all
)
if test "$redundant" != "" ; then
echo $redundant | xargs rm
fi
if test "$redundant" != "" ; then
echo $redundant | xargs rm
fi
@@
-63,7
+63,7
@@
exit
if test "$remove_redandant" = t
then
sync
if test "$remove_redandant" = t
then
sync
- redundant=$(git-pack-redundant -
a
)
+ redundant=$(git-pack-redundant -
-all
)
if test "$redundant" != "" ; then
echo $redundant | xargs rm
fi
if test "$redundant" != "" ; then
echo $redundant | xargs rm
fi