1
0
mirror of https://github.com/git/git.git synced 2024-11-17 20:54:01 +01:00
git/git-whatchanged
Linus Torvalds d6cb5e5f99 git-whatchanged: use the git-rev-parse helper
So now you can say

	git-whatchanged -p v2.6.12-rc5.. drivers/usb

and it will show you what changed (as a patch) in drivers/usb since the
v2.6.12-rc5 release.
2005-06-13 10:22:39 -07:00

5 lines
175 B
Bash
Executable File

#!/bin/sh
git-rev-list $(git-rev-parse --default HEAD --revs-only "$@") |
git-diff-tree --stdin --pretty -r $(git-rev-parse --no-revs "$@") |
LESS="$LESS -S" ${PAGER:-less}