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.
This commit is contained in:
Linus Torvalds 2005-06-13 10:22:39 -07:00
parent 8ebb018402
commit d6cb5e5f99

View File

@ -1,2 +1,4 @@
#!/bin/sh
git-rev-list HEAD | git-diff-tree --stdin --pretty -r "$@" | LESS="$LESS -S" ${PAGER:-less}
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}