Re: suggestions for gitweb
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 13, 2007, 00:54 UTC
- Message-ID
- <7vabw9v906.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <f25mic$1b1$2@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
Show 5 quoted lines
> Lines of code and file sizes: file size needs additional invocation > per each file for gitweb; it would be easier for cgit. Costly! Counting > LOC is even more costly: take note that 1.) gitweb operates directly > on repository / object database, and does not use working area, > 2.) git is snapshot based and not changeset based.
We earlier discussed to make --numstat to allow us add this kind of information for easier script consumption.
Perhaps instead of modifying --numstat, we may be better off to add another format that can be more easily extended to support other things, like we do for the --porcelain format out of git-blame? It does not have to be one line per record, like the way --numstat was done, which was primarily in order to make it a compact, human readable format.