summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-10-19 23:00:04 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-10-20 05:42:49 (GMT)
commitcee7f245dcaef6dade28464f59420095a9949aac (patch)
tree8c03deaa5f26293d2a35a886b0f1ce4694bfb86f /t
parente19343ad547e32aaf511b0b38be083e1b3145d4e (diff)
downloadgit-cee7f245dcaef6dade28464f59420095a9949aac.zip
git-cee7f245dcaef6dade28464f59420095a9949aac.tar.gz
git-cee7f245dcaef6dade28464f59420095a9949aac.tar.bz2
git-pickaxe: blame rewritten.
Currently it does what git-blame does, but only faster. More importantly, its internal structure is designed to support content movement (aka cut-and-paste) more easily by allowing more than one paths to be taken from the same commit. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't')
-rw-r--r--t/annotate-tests.sh1
-rwxr-xr-xt/t8003-pickaxe.sh9
2 files changed, 10 insertions, 0 deletions
diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh
index 8baf2fe..b5ceba4 100644
--- a/t/annotate-tests.sh
+++ b/t/annotate-tests.sh
@@ -4,6 +4,7 @@
check_count () {
head=
case "$1" in -h) head="$2"; shift; shift ;; esac
+ echo "$PROG file $head" >&4
$PROG file $head >.result || return 1
cat .result | perl -e '
my %expect = (@ARGV);
diff --git a/t/t8003-pickaxe.sh b/t/t8003-pickaxe.sh
new file mode 100755
index 0000000..d09d1c9
--- /dev/null
+++ b/t/t8003-pickaxe.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+test_description='git-pickaxe'
+. ./test-lib.sh
+
+PROG='git pickaxe -c'
+. ../annotate-tests.sh
+
+test_done