Subject: Re: diff settings

From: Teemu Likonen <[email-masked]>
Date: Sat, 24 Jan 2009 21:33:59 +0200

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". :-)