- Remove old stuff
$ rm -rf frysk-import/libunwind
- Get upstream stuff and put it in
(make sure you don't accidentially copy over the upstream .git dir)
$ cp -r ~/upstream/libunwind frysk-import/
- Commit (use a commit messsage like "Import of libunwind version
libunwind-20071122") and push
$ git-commit -a && git-push
The vendor branch is now updated
- Merge to the trunk
$ git-checkout master
$ git-merge vendor/LIBUNWIND
- Resolve the conflicts using git-rm for files not needed,
editing files with conflict markers and git-add each one after
resolving the issues.
- Do a full clean build and double check the test results.
[.. lots of time passes...]
- Commit and push the result (git will have generated a merge message
for you already that you can use in the commit).
$ got commit && git push
If too much time has passed since the start the push will fail. Trying
to do a git fetch origin; git rebase origin seem to fail, so you have to
just do a git pull && git push then (which creates an extra merge
message, but that seems just fine).
If we have a good workflow we should update the webpages.
Thanks to Tim for helping me out when I got stuck on irc.