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

Support prefetch branches #1333

Open
silvio opened this issue May 14, 2024 · 1 comment
Open

Support prefetch branches #1333

silvio opened this issue May 14, 2024 · 1 comment

Comments

@silvio
Copy link

silvio commented May 14, 2024

Certain tasks can be automated using “git maintenance”. For example, it is possible to update the “commit-graph database” hourly or to automate “incremental repack” tasks daily. Another feature is to update all branches every hour.
Exactly with the last point I have noticed a problem, “tig” does not show me a name for “prefetched branches”, but displays these commits as “ghost branches/commits”, when the branch is removed on the server, but the maintenance run has not yet taken place.

gitk view:
image

tig view:
image

Manual page for git maintenance: https://man7.org/linux/man-pages/man1/git-maintenance.1.html

@koutcher
Copy link
Collaborator

Add set reference-format = [prefetch] to your .tigrc to see prefetch references.

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

No branches or pull requests

2 participants