From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69624 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: The Gnus repository is switching to Git as of 2010-04-19 Date: Wed, 21 Apr 2010 11:30:22 +0000 Message-ID: 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=UTF-8 X-Trace: dough.gmane.org 1271850277 1181 80.91.229.12 (21 Apr 2010 11:44:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2010 11:44:37 +0000 (UTC) Cc: Ted Zlatanov , Stefan Monnier , ding@gnus.org, emacs-devel@gnu.org To: Teemu Likonen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 21 13:44:35 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O4YLq-0005zR-QZ for ged-emacs-devel@m.gmane.org; Wed, 21 Apr 2010 13:44:29 +0200 Original-Received: from localhost ([127.0.0.1]:56129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4YL9-0000jb-6r for ged-emacs-devel@m.gmane.org; Wed, 21 Apr 2010 07:43:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4Y8U-0003Yu-Aw for emacs-devel@gnu.org; Wed, 21 Apr 2010 07:30:30 -0400 Original-Received: from [140.186.70.92] (port=47278 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4Y8S-0003Xj-8E for emacs-devel@gnu.org; Wed, 21 Apr 2010 07:30:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4Y8P-0004Hs-DW for emacs-devel@gnu.org; Wed, 21 Apr 2010 07:30:28 -0400 Original-Received: from mail-bw0-f225.google.com ([209.85.218.225]:48176) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4Y8P-0004HO-5b for emacs-devel@gnu.org; Wed, 21 Apr 2010 07:30:25 -0400 Original-Received: by bwz25 with SMTP id 25so7061463bwz.8 for ; Wed, 21 Apr 2010 04:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=tjcgaR+XfE+lOiyshTMwIv/4Wxv1XxGyekIgwyOD3OQ=; b=TxKkKyJersgbR6DFhEw2wfIQahN86Iyu8n4k/+PvyuJwfi1Cbh29YYCoJ6DJPwc1k8 PQMBBo8WYk31xmGnel8uJrjHIsVuRgsaDq61GV4Z6nQ4vJBnlGfSZkYLD8ZQk1WVDN39 OQpMpV7wk8fsMLzxB/IdssqXcXA9GAxPM0C5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=NvcEDmhaE8YPWzfKKT20CV3QhRF/FU2x4deLHikLQs9/08vAutqSUwaB/uRaVWHdxy g0Xj7FubO+KLzG4LsG1SLWBNT1veGMwcMbtHjZEkgdH5Xv506yekHO8ydrLGMxwr3D12 U/9ttep7AHBQ9Nh5w/kkj9Nb5G44FwsbLKFlg= Original-Received: by 10.204.121.195 with HTTP; Wed, 21 Apr 2010 04:30:22 -0700 (PDT) In-Reply-To: <87d3xtldd5.fsf@mithlond.arda> Original-Received: by 10.204.80.36 with SMTP id r36mr1147172bkk.75.1271849422876; Wed, 21 Apr 2010 04:30:22 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:123977 gmane.emacs.gnus.general:69624 Archived-At: On Wed, Apr 21, 2010 at 02:59, Teemu Likonen wrote: > * 2010-04-20 15:05 (-0500), Ted Zlatanov wrote: > >> Git doesn't really do renames, but "git diff" will detect them if the >> deleted and the new file have the same content. > > 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). You could easily write your own rename tracking on top of Git that did something completely different. Like do rename detection on binary files, or on text in TIFF files based on how those files come through OCR scanning.