diff options
author | Junio C Hamano <junio@kernel.org> | 2011-05-23 23:06:31 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2011-05-23 23:06:31 +0000 |
commit | 2a294cdddac356b905bb00d260fbd221d91af595 (patch) | |
tree | 7d2d0b207286927bba4e983e2c699cd69217fe3f /git-blame.txt | |
parent | 300d43650761892e5a570d8b4d83433de5052ea8 (diff) | |
download | git-htmldocs-2a294cdddac356b905bb00d260fbd221d91af595.tar.gz |
Autogenerated HTML docs for v1.7.5.2-353-g5df3e
Diffstat (limited to 'git-blame.txt')
-rw-r--r-- | git-blame.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/git-blame.txt b/git-blame.txt index bb8edb4ab..951691423 100644 --- a/git-blame.txt +++ b/git-blame.txt @@ -105,6 +105,19 @@ The contents of the actual line is output after the above header, prefixed by a TAB. This is to allow adding more header elements later. +The porcelain format generally suppresses commit information that has +already been seen. For example, two lines that are blamed to the same +commit will both be shown, but the details for that commit will be shown +only once. This is more efficient, but may require more state be kept by +the reader. The `--line-porcelain` option can be used to output full +commit information for each line, allowing simpler (but less efficient) +usage like: + + # count the number of lines attributed to each author + git blame --line-porcelain file | + sed -n 's/^author //p' | + sort | uniq -c | sort -rn + SPECIFYING RANGES ----------------- |