Generate Diff and Patch direct from Pull head (#10936)