Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top