-
Notifications
You must be signed in to change notification settings - Fork 533
Pull doesn't work #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same issue happened here! |
Same, @alexspeller thanks for the workaround, @schacon fix your cracky stone |
Same problems here, thanks for workaround |
Same issue here as well, @alexspeller thanks for the workaround |
Hi. I've debug this one. Look like git requires to explicity provide branch name when fetching. # Hack
module Git
class Base
def pull(remote = 'origin', branch = 'master', message = 'origin pull')
fetch(remote, branch)
merge(branch, message)
end
def fetch(remote = 'origin', branch = 'master')
self.lib.fetch(remote, branch)
end
end
class Lib
def fetch(remote, branch = 'master')
command('fetch', [remote, branch])
end
end
end An update: it is not clear for me why library transforms |
It is very odd because yesterday hack above works but today it doesn't work :( Now it works and looks like: # Hack
module Git
class Base
def pull
self.lib.pull
end
end
class Lib
def pull
command('pull')
end
end
end I've decided to use directly pull command |
+1 @schacon What's the reasoning behind this? Should we submit a patch? |
👍 thanks, @robertodecurnex, solution is simple.. or and btw, B-) FIRST! :P |
It looks like internally Git::Base#pull doesn't use git pull at all, but fetches and merges. Why does it not use git pull as expected? Currently it just reports it's already up to date.
The text was updated successfully, but these errors were encountered: