use references to repository patches instead of inline data