git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jeff Whiteside" <jeff.m.whiteside@gmail.com>
To: david@lang.hm
Cc: "Jeff King" <peff@peff.net>, git@vger.kernel.org
Subject: Re: how to track the history of a line in a file
Date: Fri, 2 Jan 2009 13:49:34 -0800	[thread overview]
Message-ID: <3ab397d0901021349h4ebae0c1g460a0c8abd4ec072@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.10.0901021439080.21567@asgard.lang.hm>

> -oldline
> +newline
>
> it's a 1-1 correspondence
>
> if it's instead
> -oldline1
> -oldline2
> +newline1
> +newline2

what a neat idea.  i'm going to start malloc'ing 10,000 lines x 120
chars for each file i add, and edit them so that no new lines replace
removed lines unless it's intended that they were the same line.

  reply	other threads:[~2009-01-02 21:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-02 22:13 how to track the history of a line in a file david
2009-01-02 21:26 ` Jeff King
2009-01-02 22:43   ` david
2009-01-02 21:49     ` Jeff Whiteside [this message]
2009-01-02 22:58       ` david
2009-01-02 23:01   ` david
2009-01-02 23:48     ` david
2009-01-02 22:54       ` Junio C Hamano
2009-01-03  0:59         ` david
2009-01-03  0:07           ` Thomas Rast
2009-01-03  2:05             ` david
2009-01-02 23:56       ` david
2009-01-03  4:25         ` david
2009-01-06 15:48 ` Bernt Hansen
2009-01-06 16:08   ` Miklos Vajna
2009-01-06 16:21     ` Bernt Hansen
2009-01-06 16:28       ` Bernt Hansen

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=3ab397d0901021349h4ebae0c1g460a0c8abd4ec072@mail.gmail.com \
    --to=jeff.m.whiteside@gmail.com \
    --cc=david@lang.hm \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.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).