Comments (4)
XCode uses libgit2 as its backend instead of executing the version of git
on your PATH
(which is how Visual Studio does it).
Do not use any version of Git other than one from microsoft/git
or you might have unpredictable results. Other versions do not know how to get missing objects from Azure DevOps and hence may have failures you do not expect.
Please avoid using XCode's version control tools. Instead, use git
from the command line.
from git.
Hi @derrickstolee , thank you for your reply.
The only useful feature of Xcode's Source Control is the diff function, which is very necessary for Office Mac developers, and others are usually used from the command line or other GUIs that use command-line git.
What I mean is, if it's possible to fix it with the official git status, maybe you can see if it can be adapted.
from git.
By running git status
with standard Git, you probably rewrote the .git/index
file to no longer be sparse (microsoft/git
assumes index.sparse=true
by default, while normal Git does not), allowing libgit2
to understand it. The sparse index is important for performance reasons, but you could disable it with git config index.sparse false
and that might enable XCode diffs to work. When libgit2
learns to parse a sparse index (no idea when) and XCode upgrades to that version, you would be able to take advantage of the sparse index again.
from git.
Test with removing .git/index, it did work.
Thanks for the suggestion
from git.
Related Issues (20)
- microsoft-git cask returns a 404 in the latest version of Git
- `git for-each-repo` stops on non-existent repo (Windows?) HOT 3
- git-maintenance doesn't work with git-credential-manager & pass HOT 4
- Steps when a scalar repo becomes corrupted
- Broken link in README
- git commit take a long time
- microsoft-git version 2.44.0.vfs.0.1 is broken on Mac HOT 4
- microsoft/git: review use of homebrew libintl.a
- winget deployment error (as of v2.44.0.vfs.0.2) HOT 4
- Release for v2.44.0.vfs.0.3 ? Patch for sparse-checkout crashes HOT 3
- Some scalar clones are putting GVFS packs in local object dir instead of shared object dir HOT 6
- Git reset --mixed HEAD~1 does not leave modified files in working tree
- update-git-for-windows seems to be broken on 2.45.2.vfs.0.0 HOT 10
- `git update-git-for-windows` fails with curl error in v2.45.2.vfs.0.0 HOT 1
- git difftool with visual editor takes 4.5 seconds to open next file HOT 1
- status: Hydration percentage not printed when gvfs status cache is used HOT 2
- Scalar/GVFS not working on latest MacOS (Sequoia) HOT 7
- WSL: Ubuntu 20.04: Broken install for git 2.45.2.vfs.0.2 - missing libc dependency on clean install HOT 6
- v2.45.2.vfs.0.2: performance regression in pathspec checkouts HOT 1
- multi-pack-index expiration ineffective due to many pack-files keeping small object counts HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git.