unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Alan Mackenzie <acm@muc.de>, emacs-devel@gnu.org
Subject: Re: bzr: just give me a context diff, will you?
Date: Tue, 20 Apr 2010 22:02:58 +0200	[thread overview]
Message-ID: <m2sk6phoy5.fsf@igel.home> (raw)
In-Reply-To: <83pr1u3qvm.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 20 Apr 2010 21:45:01 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Tue, 20 Apr 2010 18:00:03 +0000
>> From: Alan Mackenzie <acm@muc.de>
>> 
>> 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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




  reply	other threads:[~2010-04-20 20:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20 18:00 bzr: just give me a context diff, will you? Alan Mackenzie
2010-04-20 18:43 ` Stefan Monnier
2010-04-20 18:45 ` Eli Zaretskii
2010-04-20 20:02   ` Andreas Schwab [this message]
2010-04-22  9:50   ` Alan Mackenzie

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2sk6phoy5.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=acm@muc.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).