From: Ted Pavlic <ted@tedpavlic.com>
To: Keith Cascio <keith@CS.UCLA.EDU>
Cc: Teemu Likonen <tlikonen@iki.fi>, git <git@vger.kernel.org>
Subject: Re: diff settings
Date: Sun, 25 Jan 2009 16:02:10 -0500 [thread overview]
Message-ID: <497CD352.2060402@tedpavlic.com> (raw)
In-Reply-To: <alpine.GSO.2.00.0901241159050.23073@kiwi.cs.ucla.edu>
>> 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.
next prev parent reply other threads:[~2009-01-25 21:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-24 17:38 diff settings Keith Cascio
2009-01-24 19:22 ` Jeff King
2009-01-24 19:33 ` Teemu Likonen
2009-01-24 20:01 ` Keith Cascio
2009-01-25 21:02 ` Ted Pavlic [this message]
2009-01-25 21:11 ` Keith Cascio
2009-01-26 2:06 ` Ted Pavlic
2009-01-29 16:26 ` Ted Pavlic
2009-01-29 16:33 ` Johannes Schindelin
2009-01-29 18:46 ` Keith Cascio
2009-01-29 21:07 ` Nanako Shiraishi
[not found] ` <alpine.GSO.2.00.0901310750470.5437@kiwi.cs.ucla.edu>
2009-01-31 19:47 ` Ted Pavlic
2009-01-31 23:10 ` Keith Cascio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=497CD352.2060402@tedpavlic.com \
--to=ted@tedpavlic.com \
--cc=git@vger.kernel.org \
--cc=keith@CS.UCLA.EDU \
--cc=tlikonen@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).