提交 d6cb5e5f 编写于 作者: L Linus Torvalds

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.
上级 8ebb0184
#!/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}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册