This is in order to prevent breaking the git history when two requests are touching the same git repo at the same time. We had done most of these git calls but looks like we missed this one.
Fixes https://pagure.io/pagure/issue/2200
Looks reasonable to me. I'm not sure how easy it would be to test this. I suppose you could start a couple of subprocesses or something, but I think it's OK to consider that at your option.
LGTM.
This is going to be most tricky to test so I think I'll pass for now.
Thanks for your review!
rebased
Pull-Request has been merged by pingou
This is in order to prevent breaking the git history when two requests
are touching the same git repo at the same time.
We had done most of these git calls but looks like we missed this one.
Fixes https://pagure.io/pagure/issue/2200