Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-11

Re: [PATCH] (experimental) per-topic shortlog.

From: Jeff King <hidden>
Date: 2016-08-11 19:20:49

Possibly related (same subject, not in this thread)

On Fri, Dec 01, 2006 at 02:55:34AM -0800, Junio C Hamano wrote:
[PATCH] git-blame: mark lines blamed on boundary commits.
Excellent. This is exactly what I had in mind, and it seems to produce
sensible results out of the box:

git-diff --raw -r --diff-filter=AM $1 | cut -f2 |
  while read f; do
    git-blame -l $1 -- $f | grep -v ^- | cut -d' ' -f1
  done |
  sort | uniq -c | sort -rn |
  while read count hash; do
    echo "$count `git-rev-list --max-count=1 --pretty=oneline $hash`"
  done

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help