lib/git-up.rb in git-up-0.4.3 vs lib/git-up.rb in git-up-0.4.4
- old
+ new
@@ -3,9 +3,10 @@
class GitUp
def run
system('git', 'fetch', '--multiple', *remotes)
raise GitError, "`git fetch` failed" unless $? == 0
+ @remote_map = nil # flush cache after fetch
with_stash do
returning_to_current_branch do
col_width = branches.map { |b| b.name.length }.max + 1