From db1cf96dd70c3f7396b6a3bb89f26b972cc54e0c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 19 Aug 2014 19:03:05 -0400 Subject: remove origin remote after local clone It's not useful, since it'll change to something that cannot be directly merged with. --- src/wrapper.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wrapper.hs b/src/wrapper.hs index 75830e72..106591fc 100644 --- a/src/wrapper.hs +++ b/src/wrapper.hs @@ -71,6 +71,8 @@ wrapper args propellordir propellorbin = do ( do void $ boolSystem "git" [Param "clone", File distrepo, File propellordir] fetchUpstreamBranch propellordir distrepo + changeWorkingDirectory propellordir + void $ boolSystem "git" [Param "remote", Param "rm", Param "origin"] , void $ boolSystem "git" [Param "clone", Param netrepo, File propellordir] ) -- cgit v1.2.3