Вопрос

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?

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top