-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: missing git user info after first clone (#33)
On a first rust, when a git repo for the index is not found, but a remote one was specified and successfully cloned, the git username and email configuration was not written to disk and was therefore missing afterward. This ensures that the git username and email is also correctly configured in this scenario. Additionally, this catches an error scenario where we expected to successfully clone an index because the database contains packages but the clone failed and an empty index was created instead. This resulted in inconsistencies between the index and the database content.
- Loading branch information
Showing
7 changed files
with
76 additions
and
21 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
.sqlx/query-aabde1059bb3bdd416e13e2bd84d7580b55e19d1e353484834c5df6f012b7a26.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters