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

Disable adding refs/pullreqs/*? #59

Closed
antifuchs opened this Issue Jan 4, 2019 · 2 comments

Comments

2 participants
@antifuchs
Copy link

antifuchs commented Jan 4, 2019

Me again with the gigantic monorepo problems from #57 (-:

Those 120k pull requests I mentioned are also present as refs, so I'd like to disable fetching them: If the fetch = +refs/pull/*/head:refs/pullreqs/* config entry is present, every fetch takes tens of minutes (and the initial fetch spams a lot of lines in the magit-process buffer, slowing the fetch down even more).

I'd like to disable that config setting for now, but forge F y seems to keep adding it back. Can we get a variable to disable that? (:

@antifuchs

This comment has been minimized.

Copy link

antifuchs commented Jan 4, 2019

I've also been thinking a little about how to do this in a world where only certain PRs are relevant: Maybe forge can create fetch entries for PRs that it finds updated, and remove them when the PR closes?

@tarsius tarsius added the enhancement label Jan 9, 2019

@tarsius tarsius closed this in 53c5232 Jan 19, 2019

@tarsius

This comment has been minimized.

Copy link
Member

tarsius commented Jan 19, 2019

I've added the option forge-add-pullreq-refspec for this.

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