topen repo: dont try to detect repos above the specified dir - stagit - static git page generator
 (HTM) git clone git://src.adamsgaard.dk/stagit
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 0f5deec0a2c0513bd5ed8233d6424c0c413c138c
 (DIR) parent e489408b99fdf3d1aa4a80b860cecdf09c67306a
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Wed,  9 Dec 2015 22:55:59 +0100
       
       open repo: dont try to detect repos above the specified dir
       
       Diffstat:
         M urmoms.c                            |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/urmoms.c b/urmoms.c
       t@@ -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;