From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?VHLhuqduIE5n4buNYyBRdcOibg==?= Subject: Re: Found a "bug" in git 1.9.0 but can't reproduce it without copyrighted source code. Date: Fri, 28 Mar 2014 08:04:20 +0700 Message-ID: <5334CA94.7070708@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: git@vger.kernel.org To: yun sheng X-From: git-owner@vger.kernel.org Fri Mar 28 02:04:52 2014 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WTLE0-0003rb-8a for gcvg-git-2@plane.gmane.org; Fri, 28 Mar 2014 02:04:48 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757008AbaC1BEg convert rfc822-to-quoted-printable (ORCPT ); Thu, 27 Mar 2014 21:04:36 -0400 Received: from mail-pb0-f53.google.com ([209.85.160.53]:38047 "EHLO mail-pb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755633AbaC1BEf (ORCPT ); Thu, 27 Mar 2014 21:04:35 -0400 Received: by mail-pb0-f53.google.com with SMTP id rp16so4231078pbb.40 for ; Thu, 27 Mar 2014 18:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=WhKAorJJbcmiPXEWA77VxydR9p2H90OYebouUvDzAes=; b=yzYccmLYnazM8n2XV+s4xEj6YNHpZbqT96qwna3P1+oq0eFNTJxKhRBBKGD/Z5ELrR DkWa2JKNlw7TLUOfrzWKHlCC6cRXlpbJPxv0IEgEvDV95cae29CHz7OBA/aHYojTj1SZ Gw6LizO1a7tFoNMoUsIJWLKUIeRfrWQD1AADPGeF83xAdyqo7RL8EJNg71PucvDOiv7O es91efoIDZgbUfX3L/CAKlQ4XL3OyirLO1CM6LVpuRxLeO9elOOifz8tW85Os071xLrh ZbCHO42JrzlOMkFav5LYPbJL1Gy+SNPKVvTJ4fPCf0NwRdYlUTzyAoF86pYyfMy6yyS4 JZEw== X-Received: by 10.66.193.202 with SMTP id hq10mr5099636pac.57.1395968675250; Thu, 27 Mar 2014 18:04:35 -0700 (PDT) Received: from vnwildman.myftp.org ([113.184.62.220]) by mx.google.com with ESMTPSA id dk1sm15150997pbc.46.2014.03.27.18.04.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Mar 2014 18:04:34 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On 28/03/2014 07:45, yun sheng wrote: > Hi, > > I found git sometimes can't detect working trees changes. But I can > only reproduce this problem on several specific files, unfortunately > these files are copyrighted source files so I can't send them to you. > Is there anything I can do to narrow the problem and finally reproduc= e > the bug without these commercial files? > > I posted a question on stackoverflow which shows the process. > > http://stackoverflow.com/questions/22684163/cant-reproduce-a-bug-in-g= it-without-a-specific-file > > Actually what I'm doing is: > > git init > " copy the first version of file into the working tree. > git add . > git commit -m 'init' > " copy and replace the file into working tree. > git status > > and nothing is reported by git. > > these two files have the same timestamp, the same size, bug slightly > different contents. These files were generated by `git difftool -d` I > just manually copied them out from the temp directory just for future > review. Don't worry about copyright, please run sha1sum in order to make sure the content is changed! > > Git I'm using is msysgit 1.9.0 on windows 7 Is it Ok on Linux OS, on other git version? > > Best regards, > Sheng Yun > -- > --=20 Tr=E1=BA=A7n Ng=E1=BB=8Dc Qu=C3=A2n.