Re: [PATCH v1 2/3] drm/ci: check-patch: unshallow repository before fetching
From: Vignesh Raman
Date: Fri Mar 28 2025 - 08:10:44 EST
Hi Daniel,
On 28/03/25 17:05, Daniel Stone wrote:
Hi Vignesh,
On Fri, 28 Mar 2025 at 11:03, Vignesh Raman <vignesh.raman@xxxxxxxxxxxxx> wrote:
Ensure the repository is not shallow before fetching branches in
check-patch job. This prevents issues where git merge-base fails
due to incomplete history. Set the timeout of check-patch job to 1h.
Ouch - an hour is pretty brutal. Is there a way to unshallow only back
to the merge base?
I set it to 1h, but the job is completed in ~15min for
https://gitlab.freedesktop.org/vigneshraman/linux/-/merge_requests/18
which has 486 commits.
I will check if we can unshallow only up to the merge base.
Regards,
Vignesh
Cheers,
Daniel