Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Modify summary to make accounts in percent

  • Loading branch information...
commit 2533baca37d15447dc81c9ed0e48dae9b917ad71 1 parent c0d6909
Jean-Noël Avila jnavila authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  summary.rb
2  summary.rb
View
@@ -8,7 +8,7 @@
original_lines=`grep -r -h '^[^[:space:]#]' en/[0]* | grep -v '^Insert'| wc -l`.to_i
Dir.glob("*").each do |dir|
if !File.file?(dir) && !exclude.include?(dir)
- lines = `git diff-tree -r -p --diff-filter=M master:en master:#{dir} | grep '^-[^[:space:]#-]' | wc -l`.strip.to_i
+ lines = `git diff-tree -r -p --diff-filter=M master:en master:#{dir} | grep '^-[^[:space:]#-]' | grep -v '^-Insert' | wc -l`.strip.to_i
last_commit = `git log -1 --no-merges --format="%ar" #{dir}`.chomp
authors = ""
if command == 'authors'
Please sign in to comment.
Something went wrong with that request. Please try again.