[CentOS-devel] [PATCH] handle detached HEAD in get_sources and more

Thu Jun 12 20:37:06 UTC 2014
Karanbir Singh <mail-lists at karan.org>

On 06/12/2014 07:12 PM, Mike McLean wrote:
> This patch handles the detached HEAD case, by using git branch
> --contains HEAD to get the branch (or a list of possible branches).
> 
> It also adds a option to specify the branch in case this logic fails.
> Also there is an option to override the base source url for downloading.
> 
> While I was at it, I adjusted some checks so that the script will run
> even if the name of the checkout directory is not $packagename.
> 

thanks, looks good and works for me

applied, pushed


-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
GnuPG Key : http://www.karan.org/publickey.asc