From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Tue, 22 Sep 2015 23:42:22 +0100 Subject: Missing branches In-Reply-To: <9AD8B655B5126D4FAE1397203CDDBF2D21B766@XCH-PHX-205.sw.nos.boeing.com> References: <9AD8B655B5126D4FAE1397203CDDBF2D21B766@XCH-PHX-205.sw.nos.boeing.com> Message-ID: <20150922224222.GL17201@serenity.lan> On Tue, Sep 22, 2015 at 09:25:19PM +0000, Dunnigan, Terrence J wrote: > One of our cgit instances (0.10.1) is not displaying all branches in a > repo. We've turned caching off (cache-size = 0) and deleted the cache > under /var/cache/cgit, and we are still missing branches. > > The branches are missing from multiple repos. We've verified that > scan-path points to the correct directory, and that the git repository > directory actually has the missing branches. > > For some reason, cgit is just not displaying all of the branches. One > repo has 5 branches yet cgit only displays 2, for example. Do you mean on the summary page or the refs page? The refs page should show everything but the summary page will only show the number allowed by the "summary-tags" and "summary-branches" configuration variables, although those default to 10. Can you run `git for-each-ref` in the repository CGit is displaying to see if the branches show up there? CGit should be displaying everything under "refs/heads/".