Skip to content

Conversation

@chrisgavin
Copy link
Contributor

We currently do a lot of fiddly wrangling of Git remotes and references.

We do things like adding remotes to the config of local Git repositories which we then have to clean up later. This is not really needed as we can just interact with the remotes directly.

We can also remove all the places where we convert from refs/* to refs/remotes/remote/* and vice-versa since this just introduces confusion. Since we're only ever pulling from one place we don't really need any namespacing of references - instead we can just behave like Git's --mirror flag.

@chrisgavin chrisgavin merged commit 7926f91 into main Aug 28, 2020
@chrisgavin chrisgavin deleted the tidy-git branch August 28, 2020 08:39
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