Skip to content
Browse files

style cleanups

  • Loading branch information...
1 parent 1562bab commit c5a2671a782e1ac0abfb44ed1d3fd0d7fae18117 @alikins committed Feb 6, 2012
Showing with 8 additions and 17 deletions.
  1. +8 −17 git-burners
View
25 git-burners
@@ -1,5 +1,7 @@
#!/bin/bash
-
+#
+# show who has the most lines of codes to their name
+#
status=
exclude=
@@ -15,27 +17,17 @@ done
grep_opts="."
if [ -n "$exclude" ] ; then
- grep_opts="-v $exclude"
+ grep_opts="-v $exclude"
fi
-#files=( $(git ls-files | grep $grep_opts) )
-#count=${#files[@]}
-#for (( i = 0 ; i < count; i++ ))
-#do
-# echo ${files[$i]}
-#done
-
-#exit
-
-
#git ls-files -z | grep $grep_opts | xargs -0 -n 1 | while read line;
git ls-files | grep $grep_opts | while read line;
do
-# git annotate -b -- "${line}";
- git blame -C -w -- "${line}";
-# regex from http://gitorious.org/joenio/misc/blobs/master/git-blame-stats
-done | perl -pe "s[^.*?\((.*?)\s*\d{4}-\d{2}-\d{2}.*][\1]" | sort | uniq -c | sort -n
+ # git annotate -b -- "${line}";
+ git blame -C -w -- "${line}";
+ # regex from http://gitorious.org/joenio/misc/blobs/master/git-blame-stats
+done | perl -pe "s[^.*?\((.*?)\s*\d{4}-\d{2}-\d{2}.*][\1]" | sort | uniq -c | sort -n
#IFS=''
@@ -44,4 +36,3 @@ done | perl -pe "s[^.*?\((.*?)\s*\d{4}-\d{2}-\d{2}.*][\1]" | sort | uniq -c | so
# git blame -f -e -- "\"${line}\"";
#done | awk '{print $3 }' | sort |perl -pe "s/\(\<(.+\@.+)\>+/\1/; " | uniq -c | sort -n
#unset IFS
-

0 comments on commit c5a2671

Please sign in to comment.
Something went wrong with that request. Please try again.