projects
/
forks
/
stagit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e489408
)
open repo: dont try to detect repos above the specified dir
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Wed, 9 Dec 2015 21:55:59 +0000
(22:55 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Wed, 9 Dec 2015 21:55:59 +0000
(22:55 +0100)
urmoms.c
patch
|
blob
|
history
diff --git
a/urmoms.c
b/urmoms.c
index 91ab86fa9b68f30408de323310a90296d2bca100..ef715e4d9636fbecf3380cc1e1764b9b66d16faa 100644
(file)
--- a/
urmoms.c
+++ b/
urmoms.c
@@
-557,7
+557,8
@@
main(int argc, char *argv[])
git_libgit2_init();
- if ((status = git_repository_open(&repo, repodir)) < 0) {
+ if ((status = git_repository_open_ext(&repo, repodir,
+ GIT_REPOSITORY_OPEN_NO_SEARCH, NULL)) < 0) {
e = giterr_last();
fprintf(stderr, "error %d/%d: %s\n", status, e->klass, e->message);
return status;