commit - 5146eb392b43b61472c67037a21b28f18ce99955
commit + 2fb669fbbb380829c73db7047672204daa96de3c
blob - 1c7c3d1f214491493e2c64d9a0a7abee0317d35e
blob + bd2ded95219c3ea3b371bba588ae88440da1aeaf
--- lib/repository.c
+++ lib/repository.c
*gitconfig_repository_format_version = 0;
*gitconfig_author_name = NULL;
*gitconfig_author_email = NULL;
+ if (remotes)
+ *remotes = NULL;
+ if (nremotes)
+ *nremotes = 0;
+ if (gitconfig_owner)
+ *gitconfig_owner = NULL;
fd = open(gitconfig_path, O_RDONLY);
if (fd == -1) {