[PATCH] Make git-mv work in subdirectories, too
[git.git] / git-prune.sh
index aa79807..1fd8c73 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. git-sh-setup || die "Not a git archive"
+. git-sh-setup
 
 dryrun=
 echo=
@@ -31,7 +31,7 @@ git-prune-packed $dryrun
 redundant=$(git-pack-redundant --all)
 if test "" != "$redundant"
 then
-       if test "" = $dryrun
+       if test "" = "$dryrun"
        then
                echo "$redundant" | xargs rm -f
        else