tupdate-record commit fixes - 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 4ab688d2a9447016f302c2c442815ec2e4e60b26 DIR parent 820679ef346aea34c988a22435437c1a24815e14 HTML Author: tg(x) <*@tg-x.net> Date: Tue, 5 Apr 2011 03:15:58 +0200 update-record commit fixes Diffstat: M bin/gitzone | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/bin/gitzone b/bin/gitzone t@@ -115,7 +115,7 @@ sub check_what_changed { } sub process_files { - $files{$_} = 0 for (@_); + $files{$_} = 0 for @_; process_file($_) for keys %files; check_zones(); t@@ -370,6 +370,8 @@ sub update_record { git "commit -nm 'update-record: $file' '$file'", 1; + load_repo_config; process_files $file; + git "commit -nm 'auto increment: @changed_files'", 1 if @changed_files; install_zones if @zones; }