From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69629 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: The Gnus repository is switching to Git as of 2010-04-19 Date: Wed, 21 Apr 2010 17:57:17 +0300 Message-ID: <87tyr4etv6.fsf@mithlond.arda> References: <878w8jmjly.fsf@lifelogs.com> <87fx2qgrdw.fsf@lifelogs.com> <878w8hevp6.fsf@lifelogs.com> <87d3xtldd5.fsf@mithlond.arda> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: Quoted-Printable X-Trace: dough.gmane.org 1271861884 17074 80.91.229.12 (21 Apr 2010 14:58:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2010 14:58:04 +0000 (UTC) Cc: Ted Zlatanov , Stefan Monnier , ding@gnus.org, emacs-devel@gnu.org To: =?iso-8859-1?Q?=C6var_Arnfj=F6r=F0_Bjarmason?= Original-X-From: ding-owner+M18019@lists.math.uh.edu Wed Apr 21 16:58:02 2010 connect(): No such file or directory Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O4bN4-0007yz-Ga for ding-account@gmane.org; Wed, 21 Apr 2010 16:57:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1O4bN2-0006PN-Dg; Wed, 21 Apr 2010 09:57:44 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1O4bN0-0006Oz-VN for ding@lists.math.uh.edu; Wed, 21 Apr 2010 09:57:42 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1O4bMz-0007Pk-B5 for ding@lists.math.uh.edu; Wed, 21 Apr 2010 09:57:42 -0500 Original-Received: from mta-out.inet.fi ([195.156.147.13] helo=kirsi2.inet.fi) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1O4bMy-0001aY-00 for ; Wed, 21 Apr 2010 16:57:40 +0200 Original-Received: from mithlond.arda (84.251.132.215) by kirsi2.inet.fi (8.5.014) id 4B17EFA6058F1A55; Wed, 21 Apr 2010 17:57:36 +0300 Original-Received: from dtw by mithlond.arda with local (Exim 4.69) (envelope-from ) id 1O4bMb-0000yr-Rl; Wed, 21 Apr 2010 17:57:17 +0300 In-Reply-To: (=?iso-8859-1?Q?=22=C6var_Arnfj=F6r=F0?= Bjarmason"'s message of "Wed, 21 Apr 2010 11:30:22 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69629 gmane.emacs.devel:123983 Archived-At: * 2010-04-21 11:30 (UTC), =C6var Arnfj=F6r=F0 Bjarmason wrote: > On Wed, Apr 21, 2010 at 02:59, Teemu Likonen wrote: ^^^^^ You make it look like I spent my night writing about this version control tool. :-) Timezone issues... >> Not quite. Git will detect renames if at least 50% of file's content >> remains the same. So, you can also modify files quite much unless the >> renamed-modified file is not very small. > > Not quite :) > > At a very basic level Git just doesn't care. It just snapshots content > from one revision to the next. It really is just "A Stupid Content > Tracker". > > Rename detection is all done at the higher level by the Git porcelain. > The 50% number you cited can be changed to anything you want by giving > the diff commands the -B$PERCENT argument. See gitdiffcore(7). Yes, I know that, and would add that this default 50% detection threshold is based on the smaller of the two files. 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. Anyway, thank you. Your message shares very useful information.