aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xgit-whatchanged2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8f2497cd9..cde27275f 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 000000000..542067d13
--- /dev/null
+++ b/git-whatchanged
@@ -0,0 +1,2 @@
+#!/bin/sh
+git-rev-list HEAD | git-diff-tree --stdin -v -r "$@"