Skip to content

[fix] target_dir may be an empty directory#83

Merged
sbidoul merged 1 commit into
acsone:masterfrom
akretion:fix-clone-in-empty-dr
Oct 23, 2024
Merged

[fix] target_dir may be an empty directory#83
sbidoul merged 1 commit into
acsone:masterfrom
akretion:fix-clone-in-empty-dr

Conversation

@hparfr

@hparfr hparfr commented Oct 7, 2024

Copy link
Copy Markdown
Contributor

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

hparfr commented Oct 23, 2024

Copy link
Copy Markdown
Contributor Author

@sbidoul may you look at this one ?
Thanks

@sbidoul
sbidoul merged commit 8288ebf into acsone:master Oct 23, 2024
@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