git-activity

command module
v0.0.0-...-ccc0af2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2015 License: BSD-3-Clause Imports: 6 Imported by: 0

README

git-activity

GoDoc

Overview

git-activity infers relationships between files in a git repository.

It outputs dot data that can be rendered using graphviz like so:

git-activity | graphviz -Tpdf -o graph.pdf

It executes git command-line programs, so they need to be installed for this tool to work. You also need to run this tool in the repository you'd like to analyse.

The way git-activity determines relationships is by looking at the commit history of a repository and recording, against each file, a list of other files that have been edited in the same commit, along with the number of times this has happened.

Example

$ cd $GOPATH/src/github.com/jinzhu/gorm
$ git-activity -min_occurrence 10 | dot -Tpng -o graph.png

License

3-clause BSD. A copy is included with the source.

Documentation

Overview

git-activity infers relationships between files in a git repository.

It outputs dot data that can be rendered using graphviz like so:

git-activity | graphviz -Tpdf -o graph.pdf

It executes git command-line programs, so they need to be installed for this tool to work. You also need to run this tool in the repository you'd like to analyse.

The way git-activity determines relationships is by looking at the commit history of a repository and recording, against each file, a list of other files that have been edited in the same commit, along with the number of times this has happened.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL