Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

diff: skip batch object download when possible#244

Closed
derrickstolee wants to merge 1 commit intomicrosoft:vfs-2.25.0microsoft/git:vfs-2.25.0from
derrickstolee:name-only-no-packsderrickstolee/git:name-only-no-packsCopy head branch name to clipboard
Closed

diff: skip batch object download when possible#244
derrickstolee wants to merge 1 commit intomicrosoft:vfs-2.25.0microsoft/git:vfs-2.25.0from
derrickstolee:name-only-no-packsderrickstolee/git:name-only-no-packsCopy head branch name to clipboard

Conversation

@derrickstolee
Copy link

@derrickstolee derrickstolee commented Feb 11, 2020

When computing changed-path Bloom filters or performing a name-only
diff, we do not need the blob contents before completing the diff
values. Thus, we do not need to download a pack containing the blobs
we do not have on-disk before completing our diff calculation.

This prevents downloading every blob in a partial clone during
"git log --raw --no-rename" and "git diff --no-rename --name-only"
commands.

When computing changed-path Bloom filters or performing a name-only
diff, we do not need the blob contents before completing the diff
values. Thus, we do not need to download a pack containing the blobs
we do not have on-disk before completing our diff calculation.

This prevents downloading every blob in a partial clone during
"git log --raw" and "git diff --name-only" commands.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
@derrickstolee
Copy link
Author

/azp run microsoft.git

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@derrickstolee
Copy link
Author

Cherry-picked onto #248 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.