git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Fwd: Found a "bug" in git 1.9.0 but can't reproduce it without copyrighted source code.

From
yun sheng <uewing@gmail.com>
Date
Mar 28, 2014, 01:40 UTC
Message-ID
<CA+fYBFedYBPHLgO1mf31CuqKjWN0wbFj+Rmxq2Nm23HE0z8t_Q@mail.gmail.com>
In-Reply-To
<CA+fYBFdsp4z5T42wEiQ-0X88eK4UhJLx+Ofum_RYEf-g8a3SbA@mail.gmail.com>
---------- Forwarded message ----------
From: yun sheng <uewing@gmail.com>
Date: Fri, Mar 28, 2014 at 9:28 AM
Subject: Re: Found a "bug" in git 1.9.0 but can't reproduce it without
copyrighted source code.
To: Trần Ngọc Quân <vnwildman@gmail.com>
The result of sha1sum is different. Following is my console log

C:\shengy\tmp\shengyun\git-test>git init Initialized empty Git repository in C:/shengy/tmp/shengyun/git-test/.git/

C:\shengy\tmp\shengyun\git-test>copy
C:\shengy\Dropbox\tmp\git-issue\old\epmdstyp.h
        1 file(s) copied.
C:\shengy\tmp\shengyun\git-test>git add .
C:\shengy\tmp\shengyun\git-test>git commit -m 'init'
[master (root-commit) 579385e] 'init'
 1 file changed, 97 insertions(+)
 create mode 100644 epmdstyp.h

C:\shengy\tmp\shengyun\git-test>sha1sum epmdstyp.h c2310fe32891dc7269298814475d0ad083c5483c *epmdstyp.h

C:\shengy\tmp\shengyun\git-test>copy
C:\shengy\Dropbox\tmp\git-issue\new\epmdstyp.h
Overwrite C:\shengy\tmp\shengyun\git-test\epmdstyp.h? (Yes/No/All): Y
        1 file(s) copied.

C:\shengy\tmp\shengyun\git-test>sha1sum epmdstyp.h 7a98d5161b5e5ae201997b40fa5d5cebe1d14d1c *epmdstyp.h

C:\shengy\tmp\shengyun\git-test>git status On branch master nothing to commit, working directory clean

C:\shengy\tmp\shengyun\git-test>
On Fri, Mar 28, 2014 at 9:04 AM, Trần Ngọc Quân <vnwildman@gmail.com> wrote:
Show 42 quoted lines
> 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 reproduce
>> 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-git-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
>> --
>>
>
> --
> Trần Ngọc Quân.
>
Previous: yun sheng
Message 7 of 7 in “Found a "bug" in git 1.9.0 but can't reproduce it without copyrighted source code.”
  1. yun shengMar 28, 2014
  2. Trần Ngọc QuânMar 28, 2014
  3. Jonathan NiederMar 28, 2014
  4. yun shengMar 28, 2014
  5. Git doesn't notice file has changed (Re: Found a "bug" in git 1.9.0 but can't reproduce it without copyrighted source code.)Jonathan Nieder, Mar 28, 2014
  6. yun shengMar 28, 2014
  7. Fwd: Found a "bug" in git 1.9.0 but can't reproduce it without copyrighted source code.yun sheng, Mar 28, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.