projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ebb018
)
git-whatchanged: use the git-rev-parse helper
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Mon, 13 Jun 2005 17:22:39 +0000
(10:22 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Mon, 13 Jun 2005 17:22:39 +0000
(10:22 -0700)
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.
git-whatchanged
patch
|
blob
|
history
diff --git
a/git-whatchanged
b/git-whatchanged
index 7772260cd30e8f9a849f2857db3f3fd40e630d4f..6fbd115601ed7c95c66111954ffe3b6246702106 100755
(executable)
--- a/
git-whatchanged
+++ b/
git-whatchanged
@@
-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}