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

[fix] target_dir may be an empty directory #83

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

hparfr
Copy link
Contributor

@hparfr hparfr commented Oct 7, 2024

git clone do not care if the dir exist or is empty

And an existing target_dir/.git is expected in the rest of this function

Without this patch, if the dir is empty, an error is triggered here just after:
https://github.com/acsone/git-aggregator/blob/master/git_aggregator/repo.py#L298

git clone do not care if the dir exist or is empty

And an existing target_dir/.git is expected in the
rest of this function
@hparfr
Copy link
Contributor Author

hparfr commented Oct 23, 2024

@sbidoul may you look at this one ?
Thanks

@sbidoul sbidoul merged commit 8288ebf into acsone:master Oct 23, 2024
5 of 6 checks passed
@hparfr hparfr deleted the fix-clone-in-empty-dr branch October 23, 2024 12:48
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

Successfully merging this pull request may close these issues.

2 participants