Code

Add silly "git-whatchanged" script.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 18:47:13 +0000 (11:47 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 18:47:13 +0000 (11:47 -0700)
It's a one-liner, but it's useful as documentation if nothing else.

Makefile
git-whatchanged [new file with mode: 0755]

index 8f2497cd997257db25953672f809eb81daa00eaf..cde27275fad8103084d7ed2d08d246ba4ce6eb9c 100644 (file)
--- 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 (executable)
index 0000000..542067d
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+git-rev-list HEAD | git-diff-tree --stdin -v -r "$@"