Changeset 36364 in osm for applications/editors/josm


Ignore:
Timestamp:
2025-01-08T21:13:11+01:00 (4 weeks ago)
Author:
stoecker
Message:

add reset option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/github

    r36361 r36364  
    2626  }
    2727}
     28elsif(($ARGV[0]||'') eq 'reset')
     29{
     30  my $dir = cwd();
     31  for my $plugin (<$file>)
     32  {
     33    print($plugin);
     34    chomp($plugin);
     35    chdir($plugin);
     36    system('git','reset','--hard','HEAD');
     37    system('git','pull');
     38    chdir($dir);
     39  }
     40}
    2841else
    2942{
Note: See TracChangeset for help on using the changeset viewer.