Code Monkey home page Code Monkey logo

git_report's Introduction

           _                                       _
        _ ( )_                                    ( )_
   __  (_)| ,_)    _ __   __   _ _      _    _ __ | ,_)
 /'_ `\| || |     ( '__)/'__`\( '_`\  /'_`\ ( '__)| |
( (_) || || |_    | |  (  ___/| (_) )( (_) )| |   | |_
`\__  |(_)`\__)   (_)  `\____)| ,__/'`\___/'(_)   `\__)
( )_) |                       | |
 \___/'                       (_)                        https://github.com/knugie/git_report

print git statistics of users' commits and added/deleted lines of code simply run "git report" in a git repository

git_report's People

Contributors

wteuber avatar

Stargazers

Daniel Lohse avatar Franco Fichtner avatar

Watchers

James Cloos avatar pabera avatar Wolfgang Teuber avatar Anton avatar

git_report's Issues

beat git fame performance

benchmark result in test repo:
( git fame ) 88.53s user 31.52s system 97% cpu 2:02.71 total
( git_reports.rb ) 106.99s user 31.18s system 97% cpu 2:21.72 total

undefined method `squish' for String

	1: from /Users/wolfgang.teuber/SD/git_report/lib/git/report.rb:134:in `block in stats'
/Users/wolfgang.teuber/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.3.4/lib/active_support/multibyte/chars.rb:149:in `normalize': undefined method `squish' for #<String:0x00007ff26388e228> (NoMethodError)

support letters with accents

[3] pry(#<GitReport>)> i1
=> "í"
[4] pry(#<GitReport>)> i2
=> "í"
[5] pry(#<GitReport>)> i1.length
=> 1
[6] pry(#<GitReport>)> i2.length
=> 2
[7] pry(#<GitReport>)> i1.unpack('U*')
=> [237]
[8] pry(#<GitReport>)> i2.unpack('U*')
=> [105, 769]
[9] pry(#<GitReport>)> i1.unpack('C*')
=> [195, 173]
[10] pry(#<GitReport>)> i2.unpack('C*')
=> [105, 204, 129]
[11] pry(#<GitReport>)> i1.ljust 4, '!'
=> "í!!!"
[12] pry(#<GitReport>)> i2.ljust 4, '!'
=> "í!!"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.