lib/git-up.rb in git-up-0.0.0 vs lib/git-up.rb in git-up-0.1.0

- old
+ new

@@ -1,15 +1,15 @@ require 'colored' require 'grit' class GitUp def initialize(args) - @repo = Grit::Repo.new(args.first || File.expand_path(".")) + @repo = Grit::Repo.new(File.expand_path(".")) @head = @repo.head end def run - @repo.git.fetch + system "git fetch" with_stash do returning_to_current_branch do @repo.branches.each do |branch| next unless remote = remote_for_branch(branch)