Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git diff: support "-U" and "--unified" options properly

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:25

Linus Torvalds [off-list ref] writes:
We used to parse "-U" and "--unified" as part of the GIT_DIFF_OPTS 
environment variable, but strangely enough we would _not_ parse them as 
part of the normal diff command line (where we only accepted "-u").

This adds parsing of -U and --unified, both with an optional numeric 
argument. So now you can just say

	git diff --unified=5

[ Maybe this can still hit 1.3.3? ]
I think so.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help