On Thu, 17 Jul 2008, Linus Torvalds wrote:One final note on this: the above is obviously not a problem for simple code that only really does one thing, and in particular for code that you wrote yourself. Moving your own commits around to make them make more sense - or splitting them up etc - is often a _good_ thing, even if it obviously does change history. So using rebase to clean up and simplify and/or fix up stupid ordering issues is good, and "git rebase -i" is actually really good for this thing. No, the problems start happening when you do it on a larger scale, or (and this is very common in the kernel), your rebase _moves_ the commits over big distances because you update to the top of my development tree. In that case, while your patches themselves may not have changed, the base that you based them on may have changed really subtly - it still compiles, it still "works", but maybe it doesn't work as well as it used to. And that's why the old testing you did is basically almost worthless. So rebasing can be good or bad. It's a matter of degree. Rebasing private and small things is generally good. Rebasing bigger things can cause problems. And the further away you rebase something, the more problems it will generally cause. Linus --
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Justin C. Sherrill | Re: pkgsrc bulk build and tiff |
| Jeremy Allison | Re: [RFC] Heads up on sys_fallocate() |
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
| Matt Thomas | Re: Add a MAP_ALIGNED flag for mmap(2). |
| Vsevolod Stakhov | Unicode support in iso9660. |
| Jaromir Dolecek | Re: Speeding up fork/wait path |
| matthew green | re: merge of freebsd eventhandler |
git: | |
| Petr Janda | KDE and OpenSSL = Broken |
| sam | Re: Loader not found |
| Erick Perez | Re: dragonfly pdf documentation |
| Michel Talon | Re: Compatability with FreeBSD Ports [debian package tools] |
