Count the line of codes

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Count the line of codes

From: zyk <hidden>
Date: 2016-06-15 22:46:06

Does anyone know if there is any tools available for counting the line of
codes in the project using GIT?

How to count the code changes on the specific branch?
How to count the delta lines between one tag and its successive tag?
-- 
View this message in context: http://www.nabble.com/Count-the-line-of-codes-tp21868069p21868069.html
Sent from the git mailing list archive at Nabble.com.

Re: Count the line of codes

From: Johannes Gilger <hidden>
Date: 2016-06-15 22:46:06

On 2009-02-06, zyk [off-list ref] 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.
How to count the code changes on the specific branch?
How to count the delta lines between one tag and its successive tag?
git diff tag~..tag --stat

Greetings,
Jojo

-- 
Johannes Gilger [off-list ref]
http://hackvalue.de/heipei/
GPG-Key: 0x42F6DE81
GPG-Fingerprint: BB49 F967 775E BB52 3A81  882C 58EE B178 42F6 DE81
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help