[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: |
Andreas Schwab |
Subject: |
Re: bzr: just give me a context diff, will you? |
Date: |
Tue, 20 Apr 2010 22:02:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> 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
$ bzr alias diff="diff --diff-options -c"
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."