Expand description
This module contains all code sporting gitoxide for operations on git repositories and it mirrors
utils closely for now. One day it can be renamed into utils once git2 isn’t required anymore.
Enums
- The reason we are opening a git repository.
Functions
- Convert
gitrelated cargo configuration into the respectivegitconfiguration which can be used when opening new repositories. - Produce a repository with everything pre-configured according to
config. Most notably this includes transport configuration. Knowing itspurposehelps to optimize the way we open the repository. Useconfig_overridesto configure the new repository. - Reinitializes a given Git repository. This is useful when a Git repository seems corrupted and we want to start over.
- For the time being,
repo_pathmakes it easy to instantiate a gitoxide repo just for fetching. In future this may change to be the gitoxide repository itself.