git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kris Shannon <kris.shannon.kernel@gmail.com>
To: GIT Mailing List <git@vger.kernel.org>
Subject: RT[2/3]: Rename/Code-movement Tracking
Date: Thu, 28 Apr 2005 23:34:15 +1000	[thread overview]
Message-ID: <5d4799ae05042806344aa9d75f@mail.gmail.com> (raw)
In-Reply-To: <5d4799ae0504280559109cd00e@mail.gmail.com>

IMO adding a new object type tag (or tags) for tracking would fit the git model.

Call it "rename" for example (better yet think of a better name)
Let the contents be something along the lines of:

commit CHANGESET-SHA1
PARENT-TREE-SHA1 /old/path\0/new/path\0
PARENT-TREE-SHA1 /old/path/2\0/new/path/2\0
...

The exact details will depend on the renaming model and I don't care to
much at the moment what that turns out to be.

This new tag allows the rename data to be added on to commit's from people
like linus who don't care about rename.

It doesn't reduce security because any can happen to the rename object
and that will cover the whole commit (and those who sign the commit are
obviously not validating any rename information)

The rename objects can be used to assist in automatic merging but from my
experience I would agree with linus that if the right way to merge is not
really obvious then you probably need user input anyway.

-- 
Kris Shannon <kris.shannon.kernel@gmail.com>

  reply	other threads:[~2005-04-28 13:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28 12:59 RT[0/3]: Some related random thoughts Kris Shannon
2005-04-28 13:34 ` Kris Shannon [this message]
2005-04-28 13:47 ` RT[1/3]: Alternate Encodings (esp. Delta Compression) Kris Shannon
2005-04-28 13:54 ` RT[3/3]: Reverse lookup of SHA1 references Kris Shannon
     [not found]   ` <42717714.50601@dwheeler.com>
2005-04-29  0:11     ` Kris Shannon

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=5d4799ae05042806344aa9d75f@mail.gmail.com \
    --to=kris.shannon.kernel@gmail.com \
    --cc=git@vger.kernel.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.
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).