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
7772260
..
6fbd115
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}