diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-07 18:13:12 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-07 18:18:09 -0400 |
commit | a35278430ae2dd3ae2f0c5be291e49077bcac534 (patch) | |
tree | 193e1eb496b64625dd0f4269cd8341075c4e7c61 /doc | |
parent | 2f0c3befbd3c04fab474a8cec30f830e08828006 (diff) |
log: Add --gource mode, which generates output usable by gource.
As part of this, I fixed up how log was getting the descriptions of
remotes.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-annex.mdwn | 3 | ||||
-rw-r--r-- | doc/tips/visualizing_repositories_with_gource.mdwn | 20 |
2 files changed, 23 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 1103ffaf6..629e191b5 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -282,6 +282,9 @@ subdirectories). --since, --after, --until, --before, and --max-count can be specified. They are passed through to git log. For example, --since "1 month ago" + To generate output suitable for the gource visualisation program, + specify --gource. + * status Displays some statistics and other information, including how much data diff --git a/doc/tips/visualizing_repositories_with_gource.mdwn b/doc/tips/visualizing_repositories_with_gource.mdwn new file mode 100644 index 000000000..5d9aa4fc2 --- /dev/null +++ b/doc/tips/visualizing_repositories_with_gource.mdwn @@ -0,0 +1,20 @@ +[Gource](http://code.google.com/p/gource/) is an amazing animated +visualisation of a git repository. + +Normally, gource shows files being added, removed, and changed in +the repository, and the user(s) making the changes. Of course it can be +used in this way in a repository using git-annex too; just run `gource`. + +The other way to use gource with git-annex is to visualise the movement of +annexed file contents between repositories. In this view, the "users" are +repositories, and they move around the file contents that are being added +or removed from them with git-annex. + +To use gource this way, first go into the directory you want to visualize, +and use `git annex log` to make an input file for `gource`: + + git annex log --gource | tee gorce.log + sort gource.log | gource --log-format custom - + +The `git annex log` can take a while, to speed it up you can use something +like `--after "4 monts ago" to limit how far back it goes. |