4 ms·
wc $(git ls-files '*.c') This avoids counting things like generated code that is not checked in (lex.yy.c, y.tab.c or what have you), and any local test code o
by kazinator 5y ago
wc $(git ls-files '*.c')
This avoids counting things like generated code that is not checked in (lex.yy.c, y.tab.c or what have you), and any local test code or other junk you have laying around in the tree.