summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2011-04-05 01:15:58 (GMT)
committer tg(x) <*@tg-x.net>2013-06-05 15:58:41 (GMT)
commit4ab688d2a9447016f302c2c442815ec2e4e60b26 (patch)
treed570288a1c3632efff9771b9e9acdaee99969f0a
parent820679ef346aea34c988a22435437c1a24815e14 (diff)
update-record commit fixes
-rwxr-xr-xbin/gitzone4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/gitzone b/bin/gitzone
index 07c1785..fee9559 100755
--- 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;
}