Re: [PATCH gitweb] Visually indicating patch size with horizontal bars
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Oct 28, 2005, 01:08 UTC
- Message-ID
- <46a038f90510271808n36a75676y9f50109db43b5ab@mail.gmail.com>
- In-Reply-To
- <20051028005029.GA2654@pe.Belkin>
On 10/28/05, Chris Shoemaker <c.shoemaker@cox.net> wrote:
Show 7 quoted lines
> So, what's the best way to detect merges? Maybe see if > 'git-cat-file commit $hash | grep ^parent | wc -l' is greater than 1? > > > That's where caching might save your *ss. > > Ok, but that cache would live inside GIT_DIR an be shared with gitk, > right?
gitweb should have any caches it wants, regardless of gitk, methinks.
I very rarely run gitk and gitweb on the same repo. The repos where I run gitk are all development repos, on my desktop machine or laptop. gitweb runs only on the webserver where I publish those...
So it may be practical to have a common cache format, but unlikely that both programs will use the same cached data in practice...
martin