Re: [PATCH 00/49] V4L/DVB updates part 2

From: Linus Torvalds
Date: Tue Mar 21 2006 - 12:15:54 EST




On Mon, 20 Mar 2006, mchehab@xxxxxxxxxxxxx wrote:
>
> This patch series is available under v4l-dvb.git tree at:
> kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git.

Mauro,
because this tree contained a really ugly failed merge that was
incorrectly done as a commit that was just a diff, I re-wrote the tree by
re-doing the merge properly (as far as I can tell) and then cherry-picking
the commits that followed it.

This means that what I just pushed out has the same _contents_ as your
tree had, but because it has a fixed-up history, it's really a different
tree.

I'm hoping that you can just discard your broken tree, and replace it with
mine. So _instead_ of doing a "git pull" on my tree (which will succeed
fine, but which will leave you with your old broken history _and_ the new
fixed up one), you should just reset your state to mine.

If you have some additional commits on top of your broken history, you can
cherry-pick them onto the fixed one. Ok?

I'd suggest you double-check that my result is sensible, but I was pretty
careful. It should be all good (the end result matches your end result
exactly), but also, the history should be identical apart from the merge
mess being cleaned up.

(If it's not clear how to reset to my state, just do something like

git fetch origin # get my new updated tree
git branch oldbranch # save your old state in "oldbranch"
git reset --hard origin # switch your master branch over to "origin"

which will reset your state to mine, and leave your old state in the
"oldbranch" branch - after that, you can look at both "oldbranch" and the
current state, and perhaps move any commits on "oldbranch" over to the new
state with "git cherry-pick <cmit-id>").

Holler if you have any issues..

(Oh: when next you push to master.kernel.org, you'll need to use the "-f"
flag to _force_ the push, since your new tree will no longer be a superset
of your old broken tree with the broken merge).

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/