{"thread":{"id":"25310","subject":"[PATCH] Better advice on using topic branches for kernel development","startedAt":"2010-10-01T18:57:52Z","lastAt":"2010-10-01T18:57:52Z","messageCount":1,"participants":["Luck, Tony"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"152256","messageId":"4ca62f3028180720b7@agluck-desktop.sc.intel.com","threadId":"25310","inReplyTo":null,"subject":"[PATCH] Better advice on using topic branches for kernel development","fromName":"Luck, Tony","fromEmail":"tony.luck@intel.com","sentAt":"2010-10-01T18:57:52Z","receivedAt":"2010-10-01T18:57:52Z","isPatch":true,"sender":{"key":"tony.luck@intel.com","avatar":"https://avatars.githubusercontent.com/u/5446021?v=4"},"body":"Linus Torvalds wrote:\n> The real problem is that maintainers often pick random - and not at\n> all stable - points for their development to begin with. They just\n> pick some random \"this is where Linus -git tree is today\", and do\n> their development on top of that. THAT is the problem - they are\n> unaware that there's some nasty bug in that version.\n\nMaybe they do this because they read it in the Git user-manual.\n\nFix the manual to give them better guidance.\n\nSigned-off-by: Tony Luck <tony.luck@intel.com>\n\n---\n\ndiff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt\nindex fecc4eb..66a249d 100644\n--- a/Documentation/user-manual.txt\n+++ b/Documentation/user-manual.txt\n@@ -2171,11 +2171,14 @@ $ git push mytree release\n \n Now to apply some patches from the community.  Think of a short\n snappy name for a branch to hold this patch (or related group of\n-patches), and create a new branch from the current tip of Linus's\n-branch:\n+patches), and create a new branch from a recent stable tag of\n+Linus's branch. Picking a stable base for your branch will:\n+1) help you: by avoiding inclusion of unrelated and perhaps lightly\n+tested changes\n+2) help future bug hunters that use \"git bisect\" to find problems\n \n -------------------------------------------------\n-$ git checkout -b speed-up-spinlocks origin\n+$ git checkout -b speed-up-spinlocks v2.6.35\n -------------------------------------------------\n \n Now you apply the patch(es), run some tests, and commit the change(s).  If\n"}]}