Re: diff settings
- From
Ted Pavlic <ted@tedpavlic.com>
- Date
- Jan 25, 2009, 21:02 UTC
- Message-ID
- <497CD352.2060402@tedpavlic.com>
- In-Reply-To
- <alpine.GSO.2.00.0901241159050.23073@kiwi.cs.ucla.edu>
Show 6 quoted lines
>> 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 <ted@tedpavlic.com>
Please visit my ALS association page:
http://web.alsa.org/goto/tedpavlic
My family appreciates your support in the fight to defeat ALS.