]> git.sesse.net Git - skvidarsync/commitdiff
Allow groups to descend past neighboring headings. Not ideal.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 4 Sep 2024 19:29:43 +0000 (21:29 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 4 Sep 2024 19:29:43 +0000 (21:29 +0200)
bin/sync.pl

index 0c0db344e9abf66f2caf39d07131d4d2c14b3c38..c2f4d749a1e8a2eefdad943b9fe95488b32e9997 100644 (file)
@@ -261,10 +261,6 @@ sub get_group_assignments {
                        ++$col;
                        my $contents = $val->{'userEnteredValue'}{'stringValue'};
                        next if !defined($contents);
-                       if ($contents =~ /Gruppe /) {
-                               @curr_groups = ();
-                               last;
-                       }
                        next if (ignore_cell($contents));
                        if ($contents =~ /^(G\d\.\d)/ || $contents =~ /^(Nye løpere.*|New runner.*)/) {
                                $curr_groups[$col] = $1;
@@ -313,10 +309,6 @@ sub find_spare_cell {
                                }
                                next;
                        }
-                       if ($contents =~ /Gruppe /) {
-                               @curr_groups = ();
-                               last;
-                       }
                        next if (ignore_cell($contents));
                        if ($contents =~ /^(G\d\.\d)/ || $contents =~ /^(Nye løpere.*|New runner.*)/) {
                                $curr_groups[$colno] = $1;