From: "brian m. carlson" <sandals@crustytoothpaste•net>
To: Attila Csosz <csosza@designsoftware•com>
Cc: git@vger•kernel.org
Subject: Re: Git bug report - disk errors on Windows after push
Date: Wed, 20 Apr 2022 21:28:19 +0000 [thread overview]
Message-ID: <YmB686xgnjF86F+H@camp.crustytoothpaste.net> (raw)
In-Reply-To: <fa40a6e6-dd83-9e88-e2f7-ab8aff2ca5a4@designsoftware.com>
[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]
[Please avoid top-posting on this list.]
On 2022-04-19 at 03:52:23, Attila Csosz wrote:
> 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.
I don't doubt that's the case. However, it's not possible for Git to
corrupt a disk just by writing to it. Git, as a normal unprivileged
program, can only open files and perform normal read and write
operations on them. Management of the file system, including integrity,
is the responsibility of the operating system. If running Git on
Windows causes files outside of the repository to be corrupted, that's
either a hardware problem or a bug in Windows.
If you're seeing this problem, it could be that you have a series of bad
disks (say, if you bought a set of cheap flash drives), that the drive
isn't being removed properly, that you have some sort of broken driver
or malware, that there's some other hardware problem (e.g., a bad dock,
USB device, CPU, or memory), or just that there's a previously unknown
bug in Windows.
None of this is Git's fault, and it's really up to you to figure out
which of these it is. You might try isolating it by using a different
computer to write to the repository first, to see if something about
your current machine is the problem, and then try isolating other
causes.
--
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2022-04-20 21:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-18 7:47 Git bug report - disk errors on Windows after push Attila Csosz
2022-04-18 17:37 ` brian m. carlson
2022-04-19 3:52 ` Attila Csosz
2022-04-20 21:28 ` brian m. carlson [this message]
2022-04-20 22:54 ` Neeraj Singh
2022-04-21 2:29 ` Attila Csosz
2022-04-21 20:08 ` Neeraj Singh
2022-04-22 9:27 ` Ævar Arnfjörð Bjarmason
2022-04-22 15:04 ` Attila Csosz
2022-04-22 16:13 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YmB686xgnjF86F+H@camp.crustytoothpaste.net \
--to=sandals@crustytoothpaste$(echo .)net \
--cc=csosza@designsoftware$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox