mirror of
https://github.com/ceph/ceph
synced 2025-01-02 17:12:31 +00:00
Merge pull request #22978 from tchaikov/wip-docker-test-cleanup
test/docker-test-helper.sh: move "cp .git/HEAD" out of loop Reviewed-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
commit
3f01b63888
@ -90,8 +90,8 @@ function setup_downstream() {
|
||||
;;
|
||||
esac
|
||||
ln -s "$upstream/.git/$x" "$downstream/.git/$x"
|
||||
cp "$upstream/.git/HEAD" "$downstream/.git/HEAD"
|
||||
done
|
||||
cp "$upstream/.git/HEAD" "$downstream/.git/HEAD"
|
||||
fi
|
||||
cd $downstream
|
||||
git reset --hard $ref || return 1
|
||||
|
Loading…
Reference in New Issue
Block a user