summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 11:47:13 -0700
committerLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 11:47:13 -0700
commit02481aec2a2cfce7bc47d0d10876be5507f0b7ba (patch)
tree2b3e8f627f4b8338e1479f6011052d2f6c0e2468
parent[PATCH 4/4] Trivial test harness fixes. (diff)
downloadtgif-02481aec2a2cfce7bc47d0d10876be5507f0b7ba.tar.xz
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 8f2497cd99..cde27275fa 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 0000000000..542067d13a
--- /dev/null
+++ b/git-whatchanged
@@ -0,0 +1,2 @@
+#!/bin/sh
+git-rev-list HEAD | git-diff-tree --stdin -v -r "$@"