[Buildroot] [PATCH] support/download: fetch all refs on full git clone

Vivien Didelot vivien.didelot at savoirfairelinux.com
Thu Nov 19 17:38:46 UTC 2015


On Nov. Friday 06 (45) 11:39 PM, Vivien Didelot wrote:
> When specifying BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION, a user may want to
> specify the SHA of a reference different than a branch or tag.
> 
> For instance, Gerrit stores the patchsets under refs/changes/xx/xxx, and
> Github stores the pull requests under refs/pull/xxx/head.
> 
> When cloning a repository with --bare, you don't fetch these references.
> This patch uses --mirror for a full clone, in order to give the user
> access to all references of the Git repository.
> 
> Signed-off-by: Vivien Didelot <vivien.didelot at savoirfairelinux.com>

Reviewed-by: "Maxime Hadjinlian" <maxime.hadjinlian at gmail.com>

(I pasted Maxime's review here for clarity)

Guys, could you merge this patch please? Also having it applied as a fix
for 2015.11 would be a plus.

Best,
-v



More information about the buildroot mailing list