-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
164 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ recursive-include gitfame/tests *.py | |
|
||
# Examples/Documentation | ||
include README.rst | ||
include git-fame.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
.\" Automatically generated by Pandoc 1.19.2.1 | ||
.\" | ||
.TH "GIT\-FAME" "1" "2017\-2018" "git\-fame User Manuals" "" | ||
.hy | ||
.SH NAME | ||
.PP | ||
git\-fame \- Pretty\-print \f[C]git\f[] repository collaborators sorted | ||
by contributions. | ||
.SH SYNOPSIS | ||
.PP | ||
gitfame [\-\-help | \f[I]options\f[]] [<\f[I]gitdir\f[]>] | ||
.SH DESCRIPTION | ||
.PP | ||
See <https://github.com/casperdcl/git-fame>. | ||
.PP | ||
Probably not necessary on UNIX systems: | ||
.IP | ||
.nf | ||
\f[C] | ||
git\ config\ \-\-global\ alias.fame\ "!python\ \-m\ gitfame" | ||
\f[] | ||
.fi | ||
.PP | ||
For example, to print statistics regarding all source files in a | ||
C++/CUDA repository (\f[C]*.c/h/t(pp),\ *.cu(h)\f[]), carefully handling | ||
whitespace and line copies: | ||
.IP | ||
.nf | ||
\f[C] | ||
git\ fame\ \-\-incl\ \[aq]\\.[cht][puh]{0,2}$\[aq]\ \-twMC | ||
\f[] | ||
.fi | ||
.SH OPTIONS | ||
.TP | ||
.B <gitdir> | ||
[default: ./] | ||
.RS | ||
.RE | ||
.TP | ||
.B \-h, \-\-help | ||
show this help message and exit | ||
.RS | ||
.RE | ||
.TP | ||
.B \-\-sort=\f[I]key\f[] | ||
[default: loc]|commits|files. | ||
.RS | ||
.RE | ||
.TP | ||
.B \-t, \-\-bytype | ||
Show stats per file extension [default: False]. | ||
.RS | ||
.RE | ||
.TP | ||
.B \-M, \-M | ||
Detect intra\-file line moves and copies [default: False]. | ||
.RS | ||
.RE | ||
.TP | ||
.B \-w, \-\-ignore\-whitespace | ||
.IP | ||
.nf | ||
\f[C] | ||
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Ignore\ whitespace\ when\ comparing\ the\ parent\[aq]s\ version | ||
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ and\ the\ child\[aq]s\ to\ find\ where\ the\ lines\ came\ from | ||
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ [default:\ False]. | ||
\f[] | ||
.fi | ||
.RS | ||
.RE | ||
.TP | ||
.B \-\-incl=\f[I]f\f[] | ||
Included files [default: .*]. | ||
See \f[C]\-\-excl\f[] for format. | ||
.RS | ||
.RE | ||
.TP | ||
.B \-s, \-\-silent\-progress | ||
.IP | ||
.nf | ||
\f[C] | ||
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Suppress\ `tqdm`\ [default:\ False]. | ||
\f[] | ||
.fi | ||
.RS | ||
.RE | ||
.TP | ||
.B \-\-branch=\f[I]b\f[] | ||
Branch or tag [default: HEAD]. | ||
.RS | ||
.RE | ||
.TP | ||
.B \-v, \-\-version | ||
show program\[aq]s version number and exit | ||
.RS | ||
.RE | ||
.TP | ||
.B \-C, \-C | ||
Detect inter\-file line moves and copies [default: False]. | ||
.RS | ||
.RE | ||
.TP | ||
.B \-\-excl=\f[I]f\f[] | ||
Excluded files (default: None). | ||
In no\-regex mode, may be a comma\-separated list. | ||
Escape (,) for a literal comma (may require \\, in shell). | ||
.RS | ||
.RE | ||
.TP | ||
.B \-\-log=\f[I]lvl\f[] | ||
FATAL|CRITICAL|ERROR|WARN(ING)|[default: INFO]|DEBUG|NOTSET. | ||
.RS | ||
.RE | ||
.TP | ||
.B \-n, \-\-no\-regex | ||
Assume are comma\-separated exact matches rather than regular | ||
expressions [default: False]. | ||
NB: if regex is enabled \f[C],\f[] is equivalent to \f[C]|\f[]. | ||
.RS | ||
.RE | ||
.SH AUTHORS | ||
Casper da Costa\-Luis <https://github.com/casperdcl>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
% GIT-FAME(1) git-fame User Manuals | ||
% Casper da Costa-Luis <https://github.com/casperdcl> | ||
% 2017-2018 | ||
|
||
# NAME | ||
|
||
git-fame - Pretty-print `git` repository collaborators sorted by contributions. | ||
|
||
# SYNOPSIS | ||
|
||
gitfame [--help | *options*] [<*gitdir*>] | ||
|
||
# DESCRIPTION | ||
|
||
See <https://github.com/casperdcl/git-fame>. | ||
|
||
Probably not necessary on UNIX systems: | ||
|
||
```sh | ||
git config --global alias.fame "!python -m gitfame" | ||
``` | ||
|
||
For example, to print statistics regarding all source files in a C++/CUDA | ||
repository (``*.c/h/t(pp), *.cu(h)``), carefully handling whitespace and line | ||
copies: | ||
|
||
```sh | ||
git fame --incl '\.[cht][puh]{0,2}$' -twMC | ||
``` | ||
|
||
# OPTIONS | ||
|
||
\<gitdir> | ||
: [default: ./] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters