Skip to content

Cloning to existing location lost message with 2.0.5 #462

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

Closed
bpoldrack opened this issue Jun 2, 2016 · 1 comment
Closed

Cloning to existing location lost message with 2.0.5 #462

bpoldrack opened this issue Jun 2, 2016 · 1 comment

Comments

@bpoldrack
Copy link
Contributor

When cloning into an already existing location, GitCommandError used to provide git's message "destination path already exists" in attribute out. This apparently is gone with 2.0.5. Now there is the non-telling exit code only. Is this intentional?

@Byron
Copy link
Member

Byron commented Jun 13, 2016

Can be reproduced like this:

import git
git.Repo.clone_from('https://github.com/Byron/godi', 'godi')
# This will throw without any textual information
git.Repo.clone_from('https://github.com/Byron/godi', 'godi')

@Byron Byron closed this as completed in ec830a2 Jun 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants