Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-repack: Fix variable name
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 17 Nov 2005 14:34:47 +0000
(14:34 +0000)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 18 Nov 2005 05:28:45 +0000
(21:28 -0800)
Three times remove_redandant -> remove_redundant.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-repack.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
d2ac1cd
)
diff --git
a/git-repack.sh
b/git-repack.sh
index f34720701b0a666823bcde0da3d5b67cd2b54d9e..e58fdd6d87d7fb626ec0d36be0b2de9f86f01862 100755
(executable)
--- a/
git-repack.sh
+++ b/
git-repack.sh
@@
-11,7
+11,7
@@
do
case "$1" in
-n) no_update_info=t ;;
-a) all_into_one=t ;;
case "$1" in
-n) no_update_info=t ;;
-a) all_into_one=t ;;
- -d) remove_red
a
ndant=t ;;
+ -d) remove_red
u
ndant=t ;;
-l) local=t ;;
*) break ;;
esac
-l) local=t ;;
*) break ;;
esac
@@
-42,7
+42,7
@@
name=$(git-rev-list --objects $rev_list $(git-rev-parse $rev_parse) |
exit 1
if [ -z "$name" ]; then
echo Nothing new to pack.
exit 1
if [ -z "$name" ]; then
echo Nothing new to pack.
- if test "$remove_red
a
ndant" = t ; then
+ if test "$remove_red
u
ndant" = t ; then
echo "Removing redundant packs."
sync
redundant=$(git-pack-redundant --all)
echo "Removing redundant packs."
sync
redundant=$(git-pack-redundant --all)
@@
-60,7
+60,7
@@
mv .tmp-pack-$name.pack "$PACKDIR/pack-$name.pack" &&
mv .tmp-pack-$name.idx "$PACKDIR/pack-$name.idx" ||
exit
mv .tmp-pack-$name.idx "$PACKDIR/pack-$name.idx" ||
exit
-if test "$remove_red
a
ndant" = t
+if test "$remove_red
u
ndant" = t
then
sync
redundant=$(git-pack-redundant --all)
then
sync
redundant=$(git-pack-redundant --all)