tuse git whatchanged for initial commit - gitzone - git-based zone management tool for static and dynamic domains HTML git clone https://git.parazyd.org/gitzone DIR Log DIR Files DIR Refs --- DIR commit a321956a9c086334addbae62d5d9b784c4835562 DIR parent 677e392007fab53e595c43d29293613a0ce710e4 HTML Author: tg(x) <*@tg-x.net> Date: Mon, 14 Feb 2011 07:30:55 +0100 use git whatchanged for initial commit Diffstat: M bin/gitzone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/bin/gitzone b/bin/gitzone t@@ -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"; }