features/support/minigit.rb in vendorificator-0.3.0 vs features/support/minigit.rb in vendorificator-0.4.0
- old
+ new
@@ -17,9 +17,15 @@
end
def tags
refs(:tags)
end
+
+ def note_refs
+ show_ref.lines.
+ map { |ln| ln =~ /[0-9a-f]{40} refs\/notes\// and $'.strip }.
+ compact
+ end
end
def git
@git ||= ::MiniGit::Capturing.new(current_dir)
end