From 3d08ec77cf68f833aa88ab534f4aceae5af598a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20St=C3=B6cker?= Date: Thu, 18 Apr 2024 17:05:43 +0000 Subject: [PATCH] add status git-svn-id: https://josm.openstreetmap.de/osmsvn/applications/editors/josm/plugins@36255 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4 --- github | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/github b/github index 13a07de19..98c774f9e 100755 --- a/github +++ b/github @@ -13,11 +13,24 @@ if(($ARGV[0]||'') eq 'checkout') system('git','clone',"https://github.com/JOSM/$plugin"); } } +elsif(($ARGV[0]||'') eq 'status') +{ + my $dir = cwd(); + for my $plugin (<$file>) + { + print($plugin); + chomp($plugin); + chdir($plugin); + system('git','status',$plugin); + chdir($dir); + } +} else { my $dir = cwd(); for my $plugin (<$file>) { + print($plugin); chomp($plugin); chdir($plugin); system('git','pull');