Re: statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jul 25, 2008, at 4:29 AM, Johannes Sixt wrote:

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@xxxxxx
http://www.tildesoft.com


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux