microsoft / microsoft/VFSForGit

git hangs for one file

Open
#1,609 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.1k
Forks
474
Avg merge
2d 4h
Merged PRs (30d)
8

Description

After cloning out a repro with gvfs a file "XY.lib" seems not to be accessible.
link.exe did nothing for a long time and then printed an error:

LINK : Der 32-Bit-Linker (C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.23.28105\bin\HostX86\x86\link.exe) konnte auf "E:..\XY.lib" keine E/A f³r dem Arb eitsspeicher zugeordnete Dateien durchf³hren. Die Verkn³pfung wird mit einem 64-Bit-Linker neu gestartet, um einen besseren Durchsatz zu erzie len. LINK : Die Verkn³pfung wird mit dem 64-Bit-Linker "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.23.28105\ bin\HostX64\x86\link.exe" neu gestartet.

I remove XY.lib within Explorer. After that git restore does not work:

git restore XY.lib
failed to run command 'restore': No error

Git checkout hangs, after cancelling the following error is printed:

git checkout XY.lib
error: external process 'E:/code/src/.git/hooks/post-command.exe' failed

Current versions:

git --version
git version 2.22.0.vfs.1.1

gvfs --version
GVFS 1.0.19175.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the reported XY.lib file and the listed git restore and git checkout commands on the reported GVFS versions. Inspect the checkout path and the post-command.exe hook mentioned in the error; done means determining why the operation hangs and documenting or fixing the restore and checkout failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.