From: Teemu Likonen <tlikonen@iki•fi>
To: Keith Cascio <keith@CS•UCLA.EDU>
Cc: git@vger•kernel.org
Subject: Re: diff settings
Date: Sat, 24 Jan 2009 21:33:59 +0200 [thread overview]
Message-ID: <87ocxwv6qg.fsf@iki.fi> (raw)
In-Reply-To: <alpine.GSO.2.00.0901240936080.23073@kiwi.cs.ucla.edu> (Keith Cascio's message of "Sat\, 24 Jan 2009 09\:38\:18 -0800 \(PST\)")
Keith Cascio (2009-01-24 09:38 -0800) wrote:
> How do I configure my local git so that diff always obeys a particular
> option, e.g. "-w", without needing to type it on the command line each
> time?
It seems that the answer is "no", but aliases are a work-around:
git config --global alias.dff "diff -w"
Then "git dff" is your new "git diff -w". :-)
next prev parent reply other threads:[~2009-01-24 19:35 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 [this message]
2009-01-24 20:01 ` Keith Cascio
2009-01-25 21:02 ` Ted Pavlic
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=87ocxwv6qg.fsf@iki.fi \
--to=tlikonen@iki$(echo .)fi \
--cc=git@vger$(echo .)kernel.org \
--cc=keith@CS$(echo .)UCLA.EDU \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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