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
location to store the database pointer, if opened. Set to null if the open failed.
the repository
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