log and diff family: honor config even from subdirectories
[gitweb.git] / git-repack.sh
index 640ad8d90b9a9afd00506a9697af1d3e560e1255..9da92fb06139dc53061876f1532d9ee8c46d5346 100755 (executable)
@@ -43,7 +43,9 @@ case ",$all_into_one," in
        ;;
 esac
 pack_objects="$pack_objects $local $quiet $no_reuse_delta$extra"
-name=$(git-rev-list --objects --all $rev_list 2>&1 |
+name=$( { git-rev-list --objects --all $rev_list ||
+         echo "git-rev-list died with exit code $?"
+       } |
        git-pack-objects --non-empty $pack_objects .tmp-pack) ||
        exit 1
 if [ -z "$name" ]; then