Re: statistics
- From
Kevin Ballard <kevin@sb.org>
- Date
- Jul 25, 2008, 22:57 UTC
- Message-ID
- <65DE6D62-2507-4C49-94A7-B5DBD7FCC8DC@sb.org>
- In-Reply-To
- <4889B912.9040006@viscovery.net>
On Jul 25, 2008, at 4:29 AM, Johannes Sixt wrote:
Show 12 quoted lines
> Rene Herman schrieb: >> Hi. >> >> Is there a (non-depressing) way of getting "which files did not >> change >> since <rev>" out of git? > > What is "non-depressing"? > > Try this if you are using bash: > > comm -13 <(git diff --name-only your-rev-here) <(git ls-files)
Neat, I never knew about comm before. I probably would have come up with something like
cat <(git ls-tree -r $REV) <(git ls-tree -r HEAD) | sort | uniq -d | cut -f 2 | sort
-Kevin Ballard
-- Kevin Ballard http://kevin.sb.org kevin@sb.org http://www.tildesoft.com