summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 18:47:13 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 18:47:13 (GMT)
commit02481aec2a2cfce7bc47d0d10876be5507f0b7ba (patch)
tree2b3e8f627f4b8338e1479f6011052d2f6c0e2468
parent14cd1ff396b3414c3c13e67c74e1ad805cd455ef (diff)
downloadgit-02481aec2a2cfce7bc47d0d10876be5507f0b7ba.zip
git-02481aec2a2cfce7bc47d0d10876be5507f0b7ba.tar.gz
git-02481aec2a2cfce7bc47d0d10876be5507f0b7ba.tar.bz2
Add silly "git-whatchanged" script.
It's a one-liner, but it's useful as documentation if nothing else.
-rw-r--r--Makefile2
-rwxr-xr-xgit-whatchanged2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8f2497c..cde2727 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ AR=ar
INSTALL=install
SCRIPTS=git-apply-patch-script git-merge-one-file-script git-prune-script \
- git-pull-script git-tag-script git-resolve-script
+ git-pull-script git-tag-script git-resolve-script git-whatchanged
PROG= git-update-cache git-diff-files git-init-db git-write-tree \
git-read-tree git-commit-tree git-cat-file git-fsck-cache \
diff --git a/git-whatchanged b/git-whatchanged
new file mode 100755
index 0000000..542067d
--- /dev/null
+++ b/git-whatchanged
@@ -0,0 +1,2 @@
+#!/bin/sh
+git-rev-list HEAD | git-diff-tree --stdin -v -r "$@"