lib/bundler/source/git.rb in bundler-2.4.18 vs lib/bundler/source/git.rb in bundler-2.4.19

- old
+ new

@@ -65,9 +65,16 @@ submodules == other.submodules end alias_method :==, :eql? + def include?(other) + other.is_a?(Git) && uri == other.uri && + name == other.name && + glob == other.glob && + submodules == other.submodules + end + def to_s begin at = humanized_ref || current_branch rev = "at #{at}@#{shortref_for_display(revision)}"