[PATCH] sync script: copy history of ostree ref