git gc and idle times

Thomas Moschny thomas.moschny at gmx.de
Wed Jun 1 16:34:11 CEST 2011


Ferry Huberts <mailings at hupie.com>:
> On 05/11/2011 04:06 PM, Thomas Moschny wrote:
> > One question however: After running git-gc on some of the
> > repositories, the overview page of cgit misses idle times for
> > those. The idle time is back after pushing a commit. Is there
> > something that needs to be adjusted/fixed manually after running
> > git-gc? Or is it a bug of cgit?
> 
> patch is in master: 21e0e0bfac660072a4518f91f59d5c4bf6e764b5

Thanks!

Meanwhile, I added this code to each post-update hook

git for-each-ref --format='%(committerdate)' \
  --sort=-committerdate --count=1 \
  > $GIT_DIR/info/web/last-modified

Works fine.

-- 
Thomas Moschny  <thomas.moschny at gmx.de>




More information about the CGit mailing list