mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
Fix cpio call
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>
This commit is contained in:
parent
45d2b286ac
commit
8e1618f961
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue