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

Git prefetch fix #16603

Closed
wants to merge 1 commit into from
Closed

Git prefetch fix #16603

wants to merge 1 commit into from

Conversation

pi314ever
Copy link

Description

Simple fix for a typo in git fetch: git fetch --refetch --> git fetch --prefetch

Error occurred when I attempted ./webui.sh.

Checklist:

@pi314ever pi314ever changed the base branch from master to dev October 29, 2024 00:05
Signed-off-by: Daniel Huang <[email protected]>
@w-e-w
Copy link
Collaborator

w-e-w commented Oct 29, 2024

Error? what version of git do you have installed
https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt---refetch

--refetch
Instead of negotiating with the server to avoid transferring commits and associated objects that are already present locally, this option fetches all objects as a fresh clone would. Use this to reapply a partial clone filter from configuration or using --filter= when the filter definition has changed. Automatic post-fetch maintenance will perform object database pack consolidation to remove any duplicate objects.

@pi314ever
Copy link
Author

Error? what version of git do you have installed https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt---refetch

Ahh I have git 2.34.1, which does not have --refetch. This is the default version for Ubuntu 22.04 LTS

@pi314ever pi314ever closed this Oct 29, 2024
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.

2 participants