Sha256: 90a279b43d95195e222ed660c9aafc8c7d40011e4d72b6490c1225290fb82780

Contents?: true

Size: 193 Bytes

Versions: 15

Compression:

Stored size: 193 Bytes

Contents

require_relative "base"

module Rfix
  class Branch::Upstream < Branch::Base
    def resolve(with:)
      with.rev_parse("@{upstream}")
    end

    def to_s
      "upstream"
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rfix-1.4.1 lib/rfix/branches/upstream.rb
rfix-1.4.0.pre.201 lib/rfix/branches/upstream.rb
rfix-1.4.0 lib/rfix/branches/upstream.rb
rfix-1.3.0.pre.199 lib/rfix/branches/upstream.rb
rfix-1.2.6.pre.198 lib/rfix/branches/upstream.rb
rfix-1.2.6 lib/rfix/branches/upstream.rb
rfix-1.2.2.pre.174 lib/rfix/branches/upstream.rb
rfix-1.2.5 lib/rfix/branches/upstream.rb
rfix-1.2.4 lib/rfix/branches/upstream.rb
rfix-1.2.3.pre lib/rfix/branches/upstream.rb
rfix-1.2.2.pre lib/rfix/branches/upstream.rb
rfix-1.2.2.pre.172 lib/rfix/branches/upstream.rb
rfix-1.2.2 lib/rfix/branches/upstream.rb
rfix-1.2.0 lib/rfix/branches/upstream.rb
rfix-1.1.4.pre lib/rfix/branches/upstream.rb