Copy repo using rsync
This commit is contained in:
parent
5851825a21
commit
a761514d2a
|
@ -6,7 +6,5 @@ begin
|
||||||
git -C "$dir" diff HEAD | git -C "$target" apply --allow-empty &> /dev/null
|
git -C "$dir" diff HEAD | git -C "$target" apply --allow-empty &> /dev/null
|
||||||
|
|
||||||
and git -C "$dir" ls-files --exclude-standard --others | \
|
and git -C "$dir" ls-files --exclude-standard --others | \
|
||||||
while read file
|
rsync --files-from=/dev/stdin "$dir" "$target"
|
||||||
and cp "$dir/$file" "$target/$file"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue