Allow programmatically to specify patch diff format
v0.8.3