Skip to content

gitindex: update remote.origin.url if clone already exists#776

Merged
keegancsmith merged 1 commit into
mainfrom
k/clone-update
May 3, 2024
Merged

gitindex: update remote.origin.url if clone already exists#776
keegancsmith merged 1 commit into
mainfrom
k/clone-update

Conversation

@keegancsmith

Copy link
Copy Markdown
Member

This is so that when authentication details change we correctly update the CloneURL for repositories managed by our mirror commands.

Alternative to #775

This is so that when authentication details change we correctly update
the CloneURL for repositories managed by our mirror commands.
@xavier-calland

Copy link
Copy Markdown
Contributor

I think your version is better. This does not duplicate calling the git command.
Go is not a language I work on regularly, so I lack knowledge of the possibilities and best practices.

@keegancsmith keegancsmith merged commit 7c5b778 into main May 3, 2024
@keegancsmith keegancsmith deleted the k/clone-update branch May 3, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants