On Mon, Jun 20, 2011 at 20:31, Dejan Tolj <[email protected]> wrote:
> What is the correct expression for  repo.path?
> Is this the correct one: repo.path=/root/projects/proj/.git
> It contains the HEAD and other git configs.

That seems right: repo.path should be the absolute path to the git
directory, i.e. the directory containing HEAD, the objects dir etc.

To verify that the repo is ok, do the following:

$ cd /root/projects/proj/.git && git show

You can then try running cgit from the commandline like this:

$ PATH_INFO=proj1 /path/to/cgit.cgi | less

If the generated html still claims that /root/projects/proj/.git is
not a git repository, try

$ PATH_INFO=proj1 strace /path/to/cgit.cgi  1>/dev/null 2>strace.log

Then look into strace.log and see if you can find any interesting errors.

-- 
larsh

_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to