forked from git-for-windows/git
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! fetch: avoid loose object downloads in GVFS
This reverts the changes from that commit. The reasons are: 1. There is a bug when a ref points to a tag that points to a non-commit. It then does not set the merge type correctly. 2. There are a lot of special code checks intended only to reduce the number of tree downloads (we do not eliminate commit loads because the ref update machinery will download those commits). 3. We should do the _correct_ thing that we were already planning to do as part of the commit graph work: let's remove the requirement that lookup_commit() loads the root tree. It requires finding all places where the commit->tree value is used and use a method to verify it works.
- Loading branch information
1 parent
02bd0c8
commit 1823d59
Showing
1 changed file
with
40 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters