Question

I'm trying to generate a diff using "git format-patch master".

This is fine, but I want the patch to show the full context (i.e the entire file with the differences).

Is there an argument I can pass to make that work?

Was it helpful?

Solution

I found --unified=n , so I can just use a large number, and the whole context will appear :-)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top