git-pack-objects: mark the delta packing with a 'D'.
[gitweb.git] / git-checkout-script
index 870b1a3ef9ad71699ee0a6c967e91eaab0932573..4b3ae4adc262a7255882d4faff09c0e3a5f5afad 100755 (executable)
@@ -22,7 +22,7 @@ while [ "$#" != "0" ]; do
                        exit 1
                fi
                new="$rev"
-               if [ -f "$GIT_DIR/revs/heads/$arg" ]; then
+               if [ -f "$GIT_DIR/refs/heads/$arg" ]; then
                        branch="$arg"
                fi
                ;;