Skip to content

Commit

Permalink
Merge pull request ceph#22978 from tchaikov/wip-docker-test-cleanup
Browse files Browse the repository at this point in the history
test/docker-test-helper.sh: move "cp .git/HEAD" out of loop

Reviewed-by: Josh Durgin <[email protected]>
  • Loading branch information
jdurgin authored Jul 24, 2018
2 parents 5699a24 + ad1bd2f commit 3f01b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/docker-test-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f01b63

Please sign in to comment.