| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
I think that we can avoid keeping this cleanup_config variable by getting a refcounted pointer for the repository's config, instead of a weak pointer. Then we'll just free it always. There's no real overhead to getting a regular config and git_config_freeing it, the only real advantage to weak pointers is that you don't need to worry about freeing them.
Sorry, something went wrong.
|
Thanks for this! I might recommend a minor cleanup. |
Sorry, something went wrong.
Co-authored-by: Edward Thomson <ethomson@github.com>
Initialise cfg variable.
|
Looks good to me! Thanks for the fix! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #6059.