Ticket #8369: sync-all-shell.diff

File sync-all-shell.diff, 501 bytes (added by nwf, 5 years ago)
  • sync-all

    diff --git a/sync-all b/sync-all
    index 55b737c..7ed78c5 100755
    a b sub gitall { 
    517519        elsif ($command eq "tag") {
    518520            &git($localpath, "tag", @args);
    519521        }
     522        elsif ($command eq "shell") {
     523            chdir $localpath; system (@args); chdir $initial_working_directory
     524        }
    520525        elsif ($command eq "compare") {
    521526            # Don't compare the subrepos; it doesn't work properly as
    522527            # they aren't on a branch.