diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-06-21 02:15:25 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-06-21 02:15:25 +0200 |
commit | b3aa440641135619ff3890da03c65ba52396f42c (patch) | |
tree | a89e7d272c4d704aaf428a7f50175a0c5c570378 /include/git2/commit.h | |
parent | 9fae82405dd7db7b3c53c4a77ee78e83eca67a2b (diff) | |
download | libgit2-b3aa440641135619ff3890da03c65ba52396f42c.tar.gz |
repository: avoid opening the repository twice on reinit
The call to repo_init_reinit already takes care of opening the
repository and giving us a git_repository object to give to the
caller. There is no need to call git_repository_open again.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions