Fix cpio call
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 17 Feb 2006 14:22:45 +0000 (15:22 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 18 Feb 2006 00:30:57 +0000 (16:30 -0800)
To some cpio's, -a and -m options are mutually exclusive. Use only -m.

Signed-off-by: Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-clone.sh

index e192b08..cf410fa 100755 (executable)
@@ -153,7 +153,7 @@ yes,yes)
            fi &&
            rm -f "$GIT_DIR/objects/sample" &&
            cd "$repo" &&
-           find objects -depth -print | cpio -puamd$l "$GIT_DIR/" || exit 1
+           find objects -depth -print | cpio -pumd$l "$GIT_DIR/" || exit 1
            ;;
        yes)
            mkdir -p "$GIT_DIR/objects/info"