Subject: | Sometimes get "A branch named 'master' already exists" during recursive build |
Date: | Fri, 15 May 2015 09:26:30 +0100 |
To: | bug-DhMakePerl [...] rt.cpan.org |
From: | Andrew Beverley <andy [...] andybev.com> |
Under some circumstances when building recursively, it's possible
that Git environment variables will be set from previous builds,
(Git.pm defines them once initialised). This then means that
subsequent calls point to the wrong repo directories, generating
the error "A branch named 'master' already exists"
This patch always undefines them before each call to Git.
See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774070
Message body is not shown because sender requested not to inline it.