[bitbake-devel] [PATCH] git: do not execute 'git remote prune'

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 4 13:43:17 UTC 2012


On Sat, 2012-06-30 at 21:34 +0200, Enrico Scholz wrote:
> 'git remote prune' at this location does not make much sense because
> the following 'git remote rm' will prune stale and non-stale branches.
> 
> The 'prune' can cause trouble because it will access the network
> bypassing the no-network code in bitbake. When this operation fails and
> throws an exception, the next command (--> 'git remote rm') will be
> skipped.  This in turn, will make all the following operations fail,
> because they assume that the remote does not exist yet.
> 
> Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
> ---
>  lib/bb/fetch2/git.py |    1 -
>  1 file changed, 1 deletion(-)

Merged to master, thanks.

Richard





More information about the bitbake-devel mailing list