commit 4ab688d2a9447016f302c2c442815ec2e4e60b26
parent 820679ef346aea34c988a22435437c1a24815e14
Author: tg(x) <*@tg-x.net>
Date: Tue, 5 Apr 2011 03:15:58 +0200
update-record commit fixes
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/gitzone b/bin/gitzone
@@ -115,7 +115,7 @@ sub check_what_changed {
}
sub process_files {
- $files{$_} = 0 for (@_);
+ $files{$_} = 0 for @_;
process_file($_) for keys %files;
check_zones();
@@ -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;
}