aboutsummaryrefslogtreecommitdiff
path: root/git-repack.sh
diff options
context:
space:
mode:
authorLukas_Sandström <lukass@etek.chalmers.se>2005-11-10 00:16:13 +0100
committerJunio C Hamano <junkio@cox.net>2005-11-11 21:19:11 -0800
commit9bc0f32c77b755b8d77d215cc47fafff53cad6f5 (patch)
tree71a65aecd161e0d730d3a88b0ab4a0e654a13af7 /git-repack.sh
parentb4ad3552de8b3231b55f5ee32ee2178202708118 (diff)
downloadgit-9bc0f32c77b755b8d77d215cc47fafff53cad6f5.tar.gz
git-9bc0f32c77b755b8d77d215cc47fafff53cad6f5.tar.xz
Rename git-pack-intersect to git-pack-redundant
This patch renames git-pack-intersect to git-pack-redundant as suggested by Petr Baudis. The new name reflects what the program does, rather than how it does it. Also fix a small argument parsing bug. Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-repack.sh')
-rwxr-xr-xgit-repack.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-repack.sh b/git-repack.sh
index 3f2830056..4ce00225d 100755
--- 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
- redundant=$(git-pack-intersect -a)
+ redundant=$(git-pack-redundant -a)
if test "$redundant" != "" ; then
echo $redundant | xargs rm
fi
@@ -63,7 +63,7 @@ exit
if test "$remove_redandant" = t
then
sync
- redundant=$(git-pack-intersect -a)
+ redundant=$(git-pack-redundant -a)
if test "$redundant" != "" ; then
echo $redundant | xargs rm
fi