[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: |
Eli Zaretskii |
Subject: |
Re: bzr: just give me a context diff, will you? |
Date: |
Tue, 20 Apr 2010 21:45:01 +0300 |
> 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.)