# [PATCH 2/5] Fix cpio call

1 messages from 2006-02-17 to 2006-02-17. Participants: Johannes Schindelin.
Thread: https://gitlist.dev/t/3368

## Johannes Schindelin, 2006-02-17 14:22

Subject: [PATCH 2/5] Fix cpio call
Message-ID: <Pine.LNX.4.63.0602171522300.24274@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0602171522300.24274%40wbgn013.biozentrum.uni-wuerzburg.de

```

To some cpio's, -a and -m options are mutually exclusive. Use only -m.

Signed-off-by: Johannes E. Schindelin <Johannes.Schindelin@gmx.de>

---

 git-clone.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

d2f8d0558bcf8d0d207e89137a04e8a97fedae03
diff --git a/git-clone.sh b/git-clone.sh
index e192b08..cf410fa 100755
--- a/git-clone.sh
+++ b/git-clone.sh
@@ -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"
-- 
1.2.1.g09fe-dirty

```
