Create a new reference database and automatically add the default backends:
- git_refdb_dir: read and write loose and packed refs from disk, assuming the repository dir as the folder
@param out_ location to store the database pointer, if opened. Set to null if the open failed. @param repo the repository @return 0 or an error code
See Implementation
Create a new reference database and automatically add the default backends:
- git_refdb_dir: read and write loose and packed refs from disk, assuming the repository dir as the folder
@param out_ location to store the database pointer, if opened. Set to null if the open failed. @param repo the repository @return 0 or an error code