URI: 
       tfixed diff 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 c71483d17b39d0e602d585375743954e5cd5a2b6
   DIR parent 27a3a6e8d34db5d801d7987ecf6cfa5ba9efe254
  HTML Author: tg(x) <*@tg-x.net>
       Date:   Sat,  1 Jun 2013 11:21:27 +0200
       
       fixed diff for initial commit
       
       Diffstat:
         M bin/gitzone                         |       8 +++++---
       
       1 file changed, 5 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/bin/gitzone b/bin/gitzone
       t@@ -122,9 +122,11 @@ sub check_what_changed {
            my ($old, $new) = @_;
        
            # diff with empty tree if there's no previous commit
       -    $old = '4b825dc642cb6eb9a060e54bf8d69288fbee4904' if !$old || $old =~ /^0+$/;
       -
       -    $_ = git "diff --raw ". ($new ? "$old..$new" : $old);
       +    if (!$old || $old =~ /^0+$/) {
       +        $_ = git "diff-tree --root $new";
       +    } else {
       +        $_ = git "diff --raw --abbrev=40 ". ($new ? "$old..$new" : $old);
       +    }
        
            # parse diff output, add only valid zone names to %files for parsing
            $files{$1} = 0 while m,^:(?:[\w.]+\s+){5}([a-z0-9./-]+)$,gm;