Sha256: c19ae6a511770a8eeb4ac905a5679056df714387d9200a292a6b8af35d738fa4

Contents?: true

Size: 233 Bytes

Versions: 34

Compression:

Stored size: 233 Bytes

Contents

module Braid
  module Commands
    class Diff < Command
      def run(path)
        mirror = config.get!(path)
        setup_remote(mirror)

        diff = mirror.diff
        puts diff unless diff.empty?
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 7 rubygems

Version Path
braid-1.0.10 lib/braid/commands/diff.rb
braid-1.0.9 lib/braid/commands/diff.rb
braid-1.0.8 lib/braid/commands/diff.rb
braid-1.0.7 lib/braid/commands/diff.rb
braid-1.0.6 lib/braid/commands/diff.rb
braid-1.0.5 lib/braid/commands/diff.rb
braid-1.0.4 lib/braid/commands/diff.rb
braid-1.0.3 lib/braid/commands/diff.rb
braid-1.0.2 lib/braid/commands/diff.rb
braid-1.0.1 lib/braid/commands/diff.rb
braid-1.0.0 lib/braid/commands/diff.rb
dreamcat4-braid-0.50 lib/braid/commands/diff.rb
evilchelu-braid-0.5 lib/braid/commands/diff.rb
mlightner-braid-0.5.1 lib/braid/commands/diff.rb
norbert-braid-0.5.1 lib/braid/commands/diff.rb
realityforge-braid-0.9.9 lib/braid/commands/diff.rb
realityforge-braid-0.9.8 lib/braid/commands/diff.rb
realityforge-braid-0.9.7 lib/braid/commands/diff.rb
realityforge-braid-0.9.6 lib/braid/commands/diff.rb
realityforge-braid-0.9.5 lib/braid/commands/diff.rb