all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: Teemu Likonen <tlikonen@iki.fi>
Cc: Ted Zlatanov <tzz@lifelogs.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	ding@gnus.org,  emacs-devel@gnu.org
Subject: Re: The Gnus repository is switching to Git as of 2010-04-19
Date: Wed, 21 Apr 2010 16:36:45 +0000	[thread overview]
Message-ID: <y2v51dd1af81004210936w50dbe215qa5d8d20c7d5ba410@mail.gmail.com> (raw)
In-Reply-To: <87tyr4etv6.fsf@mithlond.arda>

On Wed, Apr 21, 2010 at 14:57, Teemu Likonen <tlikonen@iki.fi> wrote:
> * 2010-04-21 11:30 (UTC), Ęvar Arnfjörš Bjarmason wrote:
>
>> On Wed, Apr 21, 2010 at 02:59, Teemu Likonen <tlikonen@iki.fi> wrote:
>                          ^^^^^
>
> You make it look like I spent my night writing about this version
> control tool. :-) Timezone issues...

You should have seen your original Date header :)

> Yes, I know that, and would add that this default 50% detection
> threshold is based on the smaller of the two files.

Yeah, and that alone will catch the overwhelming majority of cases.

> I just wanted to point out that in practice Git (the tool) really
> understands renames. I have heard too many times that "in Git you must
> commit a rename and content changes separately" (which is wrong) and
> "Git doesn't understand renames at all" (which is very wrong, from the
> point of view of the tool's user). Technical people may talk about
> repository formats and different layers on top of that but I guess some
> of that talk has escaped the context and I keep hearing misinformation
> about Git-the-whole-system's abilities.

Right, as far as the end user is concerned it tracks renames better
than anything else I've tried.

People assume that "tracking renames" is something they want to do,
but in practice systems that do inode-like tracking quickly run into
trouble (as Linus pointed out:
http://marc.info/?l=git&m=114123702826251).

Git doesn't explicitly track renames (it just analyzes history) but
it'll catch cases where you copy some template file (e.g. release
notes) two two locations in one commit. Systems that do inode-like
tracking won't catch that. Neither will they catch things on the
sub-file level, like moving a function between two files.

On the other hand those systems have more information than Git does in
most cases. They can analyze history like Git does *and* take into
account how their inodes changed over time. The difference is that
once systems start tracking inodes they tend not to do history
analysis at all.

> Anyway, thank you. Your message shares very useful information.

Likewise.



  reply	other threads:[~2010-04-21 16:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-19 17:34 The Gnus repository is switching to Git as of 2010-04-19 Ted Zlatanov
2010-04-20 13:03 ` Harry Putnam
2010-04-20 13:29   ` Ted Zlatanov
2010-04-20 13:57   ` Andreas Schwab
     [not found] ` <jwvr5mb8evr.fsf-monnier+emacs@gnu.org>
2010-04-20 13:55   ` Ted Zlatanov
2010-04-20 15:00     ` Stefan Monnier
2010-04-20 20:05       ` Ted Zlatanov
2010-04-20 22:28         ` Stefan Monnier
2010-04-20 23:44           ` Ted Zlatanov
2010-04-21  3:16             ` Stefan Monnier
2010-04-21 11:03               ` Gnus Git synchronization with Emacs Bazaar (was: The Gnus repository is switching to Git as of 2010-04-19) Ted Zlatanov
2010-04-22  2:24                 ` Stephen J. Turnbull
2010-04-21  0:33           ` The Gnus repository is switching to Git as of 2010-04-19 Stephen J. Turnbull
2010-04-21  0:51             ` Ted Zlatanov
2010-04-21  3:31               ` Stephen J. Turnbull
2010-04-21  3:11             ` Stefan Monnier
2010-04-21  4:00               ` Stephen J. Turnbull
2010-04-21 11:38                 ` Sven Axelsson
2010-04-21  9:01           ` Andreas Schwab
2010-04-21  2:59         ` Teemu Likonen
2010-04-21 11:30           ` Ævar Arnfjörð Bjarmason
2010-04-21 14:57             ` Teemu Likonen
2010-04-21 16:36               ` Ævar Arnfjörð Bjarmason [this message]
2010-04-22  5:49     ` Harry Putnam
  -- strict thread matches above, loose matches on Subject: below --
2010-04-19 17:35 Ted Zlatanov

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=y2v51dd1af81004210936w50dbe215qa5d8d20c7d5ba410@mail.gmail.com \
    --to=avarab@gmail.com \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=tlikonen@iki.fi \
    --cc=tzz@lifelogs.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.