faq: prettify it

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2011-06-18 16:01:25 +02:00
parent dc6f7a345a
commit 344189a984

34
faq
View File

@ -1,22 +1,28 @@
Frequently Asked Questions Frequently Asked Questions
========================== --------------------------
* I'm using the "scan-path" option, but cgit doesn't find my repo This is a compilation of frequently asked questions on the cgit mailing
list. If you've got a cgit problem and cannot find an answer here, please
send a request to cgit@hjemli.net (and consider sending a patch to the
cgit wiki branch to update this faq if you get a nice answer to your
question).
* This is most likely due to permission problems: cgit usually runs under ### Why doesn't cgit find/show my repo?
your webserver user account and will need read access to your repo (and
all of the parent directories)
* My repo shows up in the list of repositories, but when clicking the This is most likely due to permission problems: cgit runs under your
repo name, cgit complains that it's "Not a git repository" webserver user account and will need read access to your repo (and all
of the parent directories)
* The most common cause of this is permission problems - see the previous
### Why does cgit complain that my repo is "Not a git repository"?
The most common cause of this is permission problems - see the previous
faq entry for more details. faq entry for more details.
* The second most common cause is that you've set repo.path to point The second most common cause is that you've set repo.path to point at the
at the working-directory of your git repo - it should point at the working-directory of your git repo - it should point at the $GITDIR, i.e.
$GITDIR, i.e. the .git directory. the .git directory.
* A less likely cause is that the repo is, infact, not a valid repo. Try A less likely cause is that the repo is, infact, not a valid repo. Try
to run a 'git show' in the offending repo to see if git also reports to run 'git show' in the offending repo to see if git also thinks your
about problems. repo has issues.