Skip to content
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

Allow git fetch to take all: true like git add does #225

Closed
agargiulo opened this issue Apr 1, 2015 · 1 comment
Closed

Allow git fetch to take all: true like git add does #225

agargiulo opened this issue Apr 1, 2015 · 1 comment

Comments

@agargiulo
Copy link

Currently, if I have:

git = Git.open 'foobar', log: Logger.new($stdout)
git.add all: true 

that works, it adds all the files inside the foobar repo
but if I try to do

git = Git.open 'foobar', log: Logger.new($stdout)
git.fetch all: true

I get:

I, [2015-04-01T11:51:02.644697 #65615]  INFO -- : Starting Git
I, [2015-04-01T11:51:02.664168 #65615]  INFO -- : /usr/local/bin/git '--git-dir=/Users/agargiulo/foobar/.git' '--work-tree=/Users/agargiulo/foobar' fetch '{:all=>true}'  2>&1
D, [2015-04-01T11:51:02.664233 #65615] DEBUG -- : ssh: Could not resolve hostname {: nodename nor servname provided, or not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I'll look into writing up a PR for this when I have time for it.

@stale
Copy link

stale bot commented Apr 2, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 2, 2018
@stale stale bot closed this as completed Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant