Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverting disaster merge to 593363c5f with diff #2172

Merged
merged 3 commits into from Jul 30, 2013
Merged

Reverting disaster merge to 593363c5f with diff #2172

merged 3 commits into from Jul 30, 2013

Conversation

todb-r7
Copy link

@todb-r7 todb-r7 commented Jul 30, 2013

There was a disaster of a merge at 6f37cf2 that is particularly
difficult to untangle (it was a bad merge from a long-running local
branch).

What this commit does is simulate a hard reset, by doing this:

git checkout -b reset-hard-ohmy
git reset --hard 593363c
git checkout upstream-master
git checkout -b revert-via-diff
git diff --no-prefix upstream-master..reset-hard-ohmy > patch
patch -p0 < patch

Since there was one binary change, also did this:

git checkout upstream-master data/exploits/CVE-2012-1535/Main.swf

Now we have one commit that puts everything back. It screws up
file-level history a little, but it's at least at a point where we can
move on with our lives. Sorry.

Updated with actually pulling in the prior version of CVE-2013-1535's Main.swf and @kholia's module from #2168

Tod Beardsley and others added 3 commits July 29, 2013 21:47
There was a disaster of a merge at 6f37cf2 that is particularly
difficult to untangle (it was a bad merge from a long-running local
branch).

What this commit does is simulate a hard reset, by doing thing:

 git checkout -b reset-hard-ohmu
 git reset --hard 593363c
 git checkout upstream-master
 git checkout -b revert-via-diff
 git diff --no-prefix upstream-master..reset-hard-ohmy > patch
 patch -p0 < patch

Since there was one binary change, also did this:

 git checkout upstream-master data/exploits/CVE-2012-1535/Main.swf

Now we have one commit that puts everything back. It screws up
file-level history a little, but it's at least at a point where we can
move on with our lives. Sorry.
Adding Dhiru's module back now that things are straight.
@todb
Copy link
Contributor

todb commented Jul 30, 2013

Hey @bturner-r7, do you have any opinion on this remedy? It seemed too daunting to revert each commit, but maybe I'm missing some syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants