From: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
To: Junio C Hamano <junkio@cox.net>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@helsinki.fi>, git@vger.kernel.org
Subject: Re: Diff output from a rewrite of a function
Date: Fri, 9 Mar 2007 20:47:54 +0100 [thread overview]
Message-ID: <200703092047.54799.robin.rosenberg.lists@dewire.com> (raw)
In-Reply-To: <7vbqj38gkp.fsf@assigned-by-dhcp.cox.net>
fredag 09 mars 2007 00:24 skrev Junio C Hamano:
> Robin Rosenberg <robin.rosenberg.lists@dewire.com> writes:
>
> > Increase the context size from the default three lines. Something like
> > diff -U 7 old new will require larger chunks of unchanged code for diff
> > break up a hunk. With git you can do
> >
> > GIT_DIFF_OPTS=-u7 git-diff-....
>
> I think you can say "git diff -U7" to do what you are
> describing, but I do not think that does what you want.
True, it's not exactly what I want, but it is easier to read than a diff split
up in many small hunks with misleading context. With larger hunks I can
ignore the misleading matching lines in the middle without thinking too much,
so it kind-o alleviates my problems a little.
-- robin
prev parent reply other threads:[~2007-03-09 21:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-08 19:04 Diff output from a rewrite of a function Ilpo Järvinen
2007-03-08 22:01 ` Robin Rosenberg
2007-03-08 23:24 ` Junio C Hamano
2007-03-09 8:39 ` Ilpo Järvinen
2007-03-09 19:47 ` Robin Rosenberg [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200703092047.54799.robin.rosenberg.lists@dewire.com \
--to=robin.rosenberg.lists@dewire.com \
--cc=git@vger.kernel.org \
--cc=ilpo.jarvinen@helsinki.fi \
--cc=junkio@cox.net \
/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.
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 NNTP newsgroup(s).