summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2011-02-14 06:30:55 (GMT)
committer tg(x) <*@tg-x.net>2013-06-05 15:58:40 (GMT)
commita321956a9c086334addbae62d5d9b784c4835562 (patch)
treebc8e3bb6958432607f98398a98b00248f014ef07
parent677e392007fab53e595c43d29293613a0ce710e4 (diff)
use git whatchanged for initial commit
-rwxr-xr-xbin/gitzone2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gitzone b/bin/gitzone
index cb5fd86..fa01486 100755
--- a/bin/gitzone
+++ b/bin/gitzone
@@ -233,7 +233,7 @@ sub pre_receive {
# check what changed
git "checkout -qf $new";
if ($old =~ /^0+$/) {
- $_ = git "show --raw $new";
+ $_ = git "whatchanged $new";
} else {
$_ = git "diff --raw $old..$new";
}