mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
Add John's text
This commit is contained in:
parent
9849cc4906
commit
5753bb7ff6
13
faq
13
faq
@ -26,3 +26,16 @@ the .git directory.
|
||||
A less likely cause is that the repo is, infact, not a valid repo. Try
|
||||
to run 'git show' in the offending repo to see if git also thinks your
|
||||
repo has issues.
|
||||
|
||||
|
||||
### Why is the idle time for my repository wrong?
|
||||
|
||||
By default CGit uses the modification time of the default branch's ref
|
||||
file as a quick method of determining when the repository was last
|
||||
changed. If you primarily work on other branches then this work will
|
||||
not be reflected in the idle time.
|
||||
|
||||
You can use a post-receive hook to run a script that tells CGit the
|
||||
correct modification time by writing to ``info/web/last-modified``. An
|
||||
example is provided in the CGit repository at
|
||||
``contrib/hooks/post-receive.agefile``.
|
||||
|
Loading…
Reference in New Issue
Block a user