From mboxrd@z Thu Jan 1 00:00:00 1970 From: list at eworm.de (Christian Hesse) Date: Tue, 8 Mar 2016 16:08:04 +0100 Subject: [PATCH 1/1] scan-tree: handle error in git_config_from_file() In-Reply-To: <20160308160159.349a034d@leda.localdomain> References: <1457445106-17365-1-git-send-email-list@eworm.de> <20160308141135.GC17523@serenity.lan> <20160308152623.2104c4ca@leda.localdomain> <20160308143614.GD17523@serenity.lan> <20160308155422.1c529572@leda.localdomain> <20160308145908.GE17523@serenity.lan> <20160308160159.349a034d@leda.localdomain> Message-ID: <20160308160804.38380ca5@leda.localdomain> Christian Hesse on Tue, 2016/03/08 16:01: > > > It gives: > > > > > > Error reading config /path/to/repository.git/config: Permission denied > > > (13) fatal: unable to access '/path/to/repository.git/config': > > > Permission denied > > > > > > Looks like this is fatal in git... > > > > Is that when listing repositories or when trying to display that > > specific repo? I suspect that's a result of prepare_repo_cmd() setting > > up for a specific repository. > > Listing repositories works. This is when displaying the repository with > bad/denied config file. Looks like it dies in cgit.c line 577 in: setup_git_directory_gently(&nongit); -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);} -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: