Recursive find respository

This commit is contained in:
cloudson 2014-04-17 08:33:22 -03:00
parent 9cd1d129bc
commit 80ad996dc1
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func OpenRepository(path string) (*Repository, error) {
runtime.LockOSThread()
defer runtime.UnlockOSThread()
ret := C.git_repository_open(&repo.ptr, cpath)
ret := C.git_repository_open_ext(&repo.ptr, cpath, 0, nil)
if ret < 0 {
return nil, MakeGitError(ret)
}