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

Fetch stalls if credential.helper=cache is enabled #21

Open
mrazzari opened this issue Jan 3, 2014 · 1 comment
Open

Fetch stalls if credential.helper=cache is enabled #21

mrazzari opened this issue Jan 3, 2014 · 1 comment

Comments

@mrazzari
Copy link

mrazzari commented Jan 3, 2014

Smart-pull is stalling after I successfully authenticate.

$ git smart-pull
- Starting: smart-pull on branch 'master' -
Executing: git fetch origin
Username for 'https://github.com': mrazzari
Password for 'https://[email protected]':

I have multiple users on this Ubuntu machine.
User A gets stuck here.
But for user B, or for root, things work perfectly.

So it looks like a permissions or user config issue...

How can I debug this?
(Debug mode, verbose param, or where to add some "print" statements? etc).

@mrazzari
Copy link
Author

mrazzari commented Jan 3, 2014

So, after diffing the git configs for user A and B, this one turned out to be the problem:
credential.helper=cache --timeout=43200

I "fixed" it by removing it from my config...
git config --global --unset credential.helper

Leaving the issue open in case you want to provide a workaround / fallback / warning for this pretty common setting.

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