Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 22:47:13 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 22:47:13 +0400
commit02481aec2a2cfce7bc47d0d10876be5507f0b7ba (patch)
tree2b3e8f627f4b8338e1479f6011052d2f6c0e2468
parent14cd1ff396b3414c3c13e67c74e1ad805cd455ef (diff)
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 "$@"