Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Git to v2.27.0 #379

Merged
merged 3 commits into from Jun 2, 2020
Merged

Conversation

derrickstolee
Copy link
Contributor

@derrickstolee derrickstolee commented May 18, 2020

See microsoft/git#271.

Updates necessary here:

  • The multi-pack-index builtin started honoring repack.packKeptObjects, which is false by default. We want to repack the .keep pack because that is just the most-recent prefetch pack-file. We don't expire it, but we want to repack it.

  • Upstream now has the log.excludeDecoration config option. This allows us to hide the refs/scalar/hidden/* refs from the history views, de-cluttering the history for our Scalar enlistments.

@derrickstolee derrickstolee force-pushed the vfs-2.27.0 branch 2 times, most recently from b52937a to 89f6bf3 Compare May 19, 2020 12:38
@derrickstolee
Copy link
Contributor Author

/azp run microsoft.scalar

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
In v2.27.0, Git udpated its use of config in the multi-pack-index
repack command. It now respects the `repack.packKeptObjects` value,
which is false by default.

We are using the `.keep` file to ensure the latest prefetch pack
is not expired, but we _do_ want to consider it for repack.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
In Git v2.27.0, Git added the log.excludeDecoration config option,
which allows us to hide the pesky "refs/scalar/hidden*" refs from
decorations during commands such as "git log".

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
@derrickstolee derrickstolee changed the title [PR Build] Update Git to v2.27.0 Update Git to v2.27.0 Jun 1, 2020
Copy link
Member

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know whether you care deeply about the typo "Udate" (should be "Update") in the first commit. Everything else looks good.

@derrickstolee derrickstolee merged commit f7b0b1d into microsoft:master Jun 2, 2020
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.

None yet

2 participants