From: Jakub Narebski <jnareb@gmail.com>
To: Matthieu Moy <Matthieu.Moy@imag.fr>
Cc: Johannes Gilger <heipei@hackvalue.de>, git@vger.kernel.org
Subject: Re: Count the line of codes
Date: Fri, 06 Feb 2009 06:08:32 -0800 (PST) [thread overview]
Message-ID: <m3zlgzvesp.fsf@localhost.localdomain> (raw)
In-Reply-To: <vpqy6wjg24s.fsf@bauges.imag.fr>
Matthieu Moy <Matthieu.Moy@imag.fr> writes:
> Johannes Gilger <heipei@hackvalue.de> writes:
>> On 2009-02-06, zyk <zhengyuk@hotmail.com> wrote:
>>>
>>> Does anyone know if there is any tools available for counting the line of
>>> codes in the project using GIT?
>>
>> wc -l *.c *.h for example would count the lines of all c-files and
>> their headers.
>
> wc for the total number of lines in files, or
> http://www.dwheeler.com/sloccount/ to get the number of lines of code
> (excluding blank lines and such).
Or Ohcount (OSS part of Ohloh) from http://labs.ohloh.net/ohcount
Or GitStat (but that is web-based) which you can see at work at
http://mirror.celinuxforum.org/gitstat/
Or git-statistic GSoC 2008 project http://repo.or.cz/w/git-stats.git
HTH
--
Jakub Narebski
Poland
ShadeHawk on #git
prev parent reply other threads:[~2009-02-06 14:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-06 7:55 Count the line of codes zyk
2009-02-06 8:23 ` Johannes Gilger
2009-02-06 12:50 ` Matthieu Moy
2009-02-06 14:08 ` Jakub Narebski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3zlgzvesp.fsf@localhost.localdomain \
--to=jnareb@gmail.com \
--cc=Matthieu.Moy@imag.fr \
--cc=git@vger.kernel.org \
--cc=heipei@hackvalue.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox