Permalink
Browse files

Flush cache or it won't notice the fetch results.

  • Loading branch information...
1 parent 378bfb2 commit 0f2ad4ebaad751a5d9a73068c173c50c84b79751 @wisq wisq committed Feb 9, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/git-up.rb
View
@@ -5,6 +5,7 @@ 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

0 comments on commit 0f2ad4e

Please sign in to comment.