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

Re: Git bug report - disk errors on Windows after push

From
ACAttila Csosz <csosza@designsoftware.com>
Date
Apr 19, 2022, 03:52 UTC
Message-ID
<fa40a6e6-dd83-9e88-e2f7-ab8aff2ca5a4@designsoftware.com>
In-Reply-To
<Yl2h5I0apzWhpVtr@camp.crustytoothpaste.net>

I've experienced the problem at least 3 different external disk. I'm not using cloud syncing service (e.g., Dropbox or OneDrive) for git.

Attila
On 4/18/2022 19:37, brian m. carlson wrote:
Show 32 quoted lines
> Hey,
>
> On 2022-04-18 at 07:47:07, Attila Csosz wrote:
>> Thank you for filling out a Git bug report!
>> Please answer the following questions to help us understand your issue.
>>
>> What did you do before the bug happened? (Steps to reproduce your issue)
>> Pushing to a directory directly.
>>
>> What did you expect to happen? (Expected behavior)
>> Good behavior
>>
>> What happened instead? (Actual behavior)
>> Disk errors. After pushing to a directory (my origin field is C:\Work for
>> example) the git repository will be corrupted.
>> Moreover causing disk errors not only in the target git bare repository.
>> I've loosed some other files.
>> Cannot be reproduced exactly. However I have decided to report this problem.
>> I've experienced this problem for several years.
> There's nothing that Git should be able to do as a normal operating
> system that causes disk errors.  If you're seeing those kinds of errors,
> the likelihood is that your disk is bad and you need to replace it.
>
> Do note that if you're storing your data in a directory managed by a
> cloud syncing service (e.g., Dropbox or OneDrive), then it is known that
> those file systems corrupt Git repositories and you shouldn't use them
> with Git.  That's due to the way they sync data.
>
> However, if this is a regular file system (e.g., NTFS), then Git
> shouldn't be able to cause disk problems, and if it could, that would be
> a serious defect in Windows, so it's almost certainly going to be a
> hardware problem.
Previous: brian m. carlsonNext: brian m. carlson
Message 3 of 10 in “Git bug report - disk errors on Windows after push”
  1. Attila CsoszApr 18, 2022
  2. brian m. carlsonApr 18, 2022
  3. Attila CsoszApr 19, 2022
  4. brian m. carlsonApr 20, 2022
  5. Neeraj SinghApr 20, 2022
  6. Attila CsoszApr 21, 2022
  7. Neeraj SinghApr 21, 2022
  8. Ævar Arnfjörð BjarmasonApr 22, 2022
  9. Attila CsoszApr 22, 2022
  10. Junio C HamanoApr 22, 2022

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.