[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bzr: just give me a context diff, will you?
From: |
Alan Mackenzie |
Subject: |
Re: bzr: just give me a context diff, will you? |
Date: |
Thu, 22 Apr 2010 09:50:57 +0000 |
User-agent: |
Mutt/1.5.9i |
Hi, Eli and everybody else,
On Tue, Apr 20, 2010 at 09:45:01PM +0300, Eli Zaretskii wrote:
> > Date: Tue, 20 Apr 2010 18:00:03 +0000
> > From: Alan Mackenzie <address@hidden>
> > For anybody else who finds typing "--diff-options='-c'" intolerably
> > long-winded, here is a quick hack in bzr to make context diffs the
> > default. The file is ..../bzr-2.1.0/bzrlib/diff.py.
> You don't need to hack Bazaar to get this. Just edit your
> ~/.bazaar/bazaar.conf file and add this:
> [ALIASES]
> diff=diff --diff-options -c
> (If you already have the ALIASES section, you only need the second
> line.)
Thanks for this! _Maybe_ R'ingTFM would have been faster than hacking
the source.
--
Alan Mackenzie (Nuremberg, Germany).