tree: bec26b46d926bceb0f3bc57995ceac458d84ee13 [path history] [tgz]
  1. src/
  2. build.gradle.kts
  3. gradle.properties
  4. README.md
kotlin-native/samples/gitchurn/README.md

GIT frequency analyzer

This example shows how one could perform statistics on Git repository.

Install libgit2 development files. For Debian-like Linux - use apt-get install libgit2-dev. For Windows - pacman -S mingw-w64-x86_64-libgit2 in MinGW64 console, if you do not have MSYS2-MinGW64 installed - install it first as described in http://www.msys2.org

To build use ../gradlew assemble.

To run use ../gradlew runReleaseExecutableGitChurn or execute the program directly:

./build/bin/gitChurn/main/release/executable/gitchurn.kexe ../../

It will print most frequently modified (by number of commits) files in repository.