From: Steven Kelly <stevek@metacase.com>
To: "'brian m. carlson'" <sandals@crustytoothpaste.net>
Cc: "'git@vger.kernel.org'" <git@vger.kernel.org>
Subject: RE: [BUG] Error adding 2+ files after init --shared on Windows with fscache
Date: Fri, 12 Mar 2021 22:13:49 +0000 [thread overview]
Message-ID: <AM7P194MB0900EF9C0B19A1382652A669A66F9@AM7P194MB0900.EURP194.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <YEvZnm1z7nm6ctHA@camp.crustytoothpaste.net>
On 2021-03-12 at 21:14:00, brian m.carlson wrote:
> On 2021-03-12 at 15:52:43, Steven Kelly wrote:
> > What did you do before the bug happened? (Steps to reproduce your
> issue)
> > Clean install of Git on Windows 10 using default options
> > git init --shared
> > echo x>x
> > echo y>y
> > git add -A
> >
> > What did you expect to happen? (Expected behavior)
> > The two files are added with no errors
> >
> > What happened instead? (Actual behavior)
> > error: unable to create temporary file: No such file or directory
> > error: y: failed to insert into database
> > error: unable to index file 'y'
> > fatal: adding files failed
> >
> > What's different between what you expected and what actually
> happened?
> > The add command fails with an error 'unable to create temporary file'
> >
> > Anything else you want to add:
> > If I omit --shared, there is no error
> > If there is only one file, there is no error
> > If the echo commands do not have characters, just adding a blank line,
> there is no error
> > If I turn off fscache, there is no error (git config --global core.fscache false)
>
> Seeing this definitely makes me think this should be reported to the Git
> for Windows project (https://github.com/git-for-windows/git) because
> that's a nonstandard option that's specific to Windows. I don't think
> anyone here (other, of course, than the Git for Windows folks) is
> familiar with how that option works and since it isn't part of core Git
> we wouldn't be able to fix it.
Thanks, duly reported: https://github.com/git-for-windows/git/issues/3110#issue-830551915
I note this bug does not occur in git version 2.9.3.windows.2 (2016) on Windows 10.0.18363.1316 with fscache
It seems to have existed since at least 2017: https://stackoverflow.com/a/44040893
prev parent reply other threads:[~2021-03-12 22:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-12 15:52 [BUG] Error adding 2+ files after init --shared on Windows with fscache Steven Kelly
2021-03-12 21:14 ` brian m. carlson
2021-03-12 22:13 ` Steven Kelly [this message]
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM7P194MB0900EF9C0B19A1382652A669A66F9@AM7P194MB0900.EURP194.PROD.OUTLOOK.COM \
--to=stevek@metacase.com \
--cc=git@vger.kernel.org \
--cc=sandals@crustytoothpaste.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).