Thread (9 messages) flat view 9 messages, 5 authors, 2016-06-15

Re: diff settings

From: Ted Pavlic <hidden>
Date: 2016-06-15 22:46:01

quoted
     git config --global alias.dff "diff -w"

Then "git dff" is your new "git diff -w". :-)
That feature is gonna come in handy.  It doesn't 100% fulfill my needs here but
I like it!  Thanks, I did not know about alias.*
Mercurial has a "defaults.*" that does exactly what you want. That is, 
you can say

[defaults]
diff = -w

and "hg diff" will automatically do "hg diff -w". Such a feature might 
be a nice addition to git.

--Ted


-- 
Ted Pavlic [off-list ref]

   Please visit my ALS association page:
         http://web.alsa.org/goto/tedpavlic
   My family appreciates your support in the fight to defeat ALS.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help