@matheusbsbs / matheus-bagliano / commits / 0adb3358f6
Fork 0

git-repack: Fix variable name

Three times remove_redandant -> remove_redundant. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Junio C Hamano <junkio@cox.net>

Ralf Baechle committed Nov 17, 2005 at 14:34 UTC 0adb3358f6538aaa9006f4068d6757cd506afcdd
1 file changed +3 -3
git-repack.sh
+3 -3
@@ -11,7 +11,7 @@ do
11 case "$1" in
12 -n) no_update_info=t ;;
13 -a) all_into_one=t ;;
14 - -d) remove_redandant=t ;;
14 + -d) remove_redundant=t ;;
15 -l) local=t ;;
16 *) break ;;
17 esac
@@ -42,7 +42,7 @@ name=$(git-rev-list --objects $rev_list $(git-rev-parse $rev_parse) |
42 exit 1
43 if [ -z "$name" ]; then
44 echo Nothing new to pack.
45 - if test "$remove_redandant" = t ; then
45 + if test "$remove_redundant" = t ; then
46 echo "Removing redundant packs."
47 sync
48 redundant=$(git-pack-redundant --all)
@@ -60,7 +60,7 @@ mv .tmp-pack-$name.pack "$PACKDIR/pack-$name.pack" &&
60 mv .tmp-pack-$name.idx "$PACKDIR/pack-$name.idx" ||
61 exit
62
63 -if test "$remove_redandant" = t
63 +if test "$remove_redundant" = t
64 then
65 sync
66 redundant=$(git-pack-redundant --all)