diff options
| author | Joey Hess <joey@kitenet.net> | 2014-08-19 17:51:34 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-08-19 17:51:34 -0400 |
| commit | adf8b2ec34d5daec0eb3b060681cce6eceb6238d (patch) | |
| tree | 41c1a41ae4288acb062a94fa0bb304df7cb38bca /src/wrapper.hs | |
| parent | 6f8f0c1c6bb7d79889bfb617d9c89cec6a38188b (diff) | |
need to connect up history
Diffstat (limited to 'src/wrapper.hs')
| -rw-r--r-- | src/wrapper.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wrapper.hs b/src/wrapper.hs index 7b748659..f2b39f54 100644 --- a/src/wrapper.hs +++ b/src/wrapper.hs @@ -103,7 +103,7 @@ wrapper args propellordir propellorbin = do -- in lots of merge conflicts, since git cannot find a common parent -- commit. -- --- Instead, the upstream/master branch is created by taking the previous +-- Instead, the upstream/master branch is created by taking the -- upstream/master branch (which must be an old version of propellor, -- as distributed), and diffing from it to the current origin/master, -- and committing the result. This is done in a temporary clone of the @@ -126,7 +126,8 @@ setupupstreammaster newref propellordir = do git ["fetch", distrepo, "--quiet"] git ["reset", "--hard", oldref, "--quiet"] run "sh" ["-c", "git diff .." ++ newref ++ " | git apply --whitespace=nowarn"] - git ["commit", "-a", "-m", "merging upstream changes", "--quiet"] + git ["commit", "-a", "-m", "merging upstream into master", "--quiet"] + git ["merge", newref, "--quiet", "-m", "merging upstream release"] fetchUpstreamBranch propellordir tmprepo cleantmprepo |
