Permalink
Browse files

update-record commit fixes

  • Loading branch information...
1 parent ca48b1d commit 08d986eb22d26590d92cf660b09d656b58e975ed @tg-x tg-x committed Apr 5, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 bin/gitzone
View
@@ -137,7 +137,7 @@ sub check_what_changed {
}
sub process_files {
- $files{$_} = 0 for (@_);
+ $files{$_} = 0 for @_;
process_file($_) for keys %files;
check_zones();
@@ -392,6 +392,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;
}

0 comments on commit 08d986e

Please sign in to comment.