From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932147AbeASJvy (ORCPT ); Fri, 19 Jan 2018 04:51:54 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:46589 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752368AbeASJvp (ORCPT ); Fri, 19 Jan 2018 04:51:45 -0500 X-Google-Smtp-Source: ACJfBotl/ubvOUogjPZd/Z1myTvI6bKMugzY5W5aZp8+AqptXRYKmyYRvgFb7keEYPWLiaR32VVmOg== Date: Fri, 19 Jan 2018 18:51:41 +0900 From: Sergey Senozhatsky To: Rasmus Villemoes Cc: Steven Rostedt , Petr Mladek , Sergey Senozhatsky , akpm@linux-foundation.org, linux-mm@kvack.org, Cong Wang , Dave Hansen , Johannes Weiner , Mel Gorman , Michal Hocko , Vlastimil Babka , Peter Zijlstra , Linus Torvalds , Jan Kara , Mathieu Desnoyers , Tetsuo Handa , rostedt@rostedt.homelinux.com, Byungchul Park , Sergey Senozhatsky , Tejun Heo , Pavel Machek , linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 1/2] printk: Add console owner and waiter logic to load balance console writes Message-ID: <20180119095141.GA29479@tigerII.localdomain> References: <20180110132418.7080-1-pmladek@suse.com> <20180110132418.7080-2-pmladek@suse.com> <20180112115454.17c03c8f@gandalf.local.home> <20180112121148.20778932@gandalf.local.home> <2c4e5175-e806-02f9-1467-081a9f533de1@prevas.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2c4e5175-e806-02f9-1467-081a9f533de1@prevas.dk> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (01/17/18 20:13), Rasmus Villemoes wrote: [..] > >> Hmm, how does one have git commit not remove the C preprocessor at the > >> start of the module? > > > > Probably just add a space in front of the entire program. > > If you use at least git 2.0.0 [1], set commit.cleanup to "scissors". > Something like > > git config commit.cleanup scissors > > should do the trick. Instead of stripping all lines starting with #, > that will only strip stuff below a line containing > > # ------------------------ >8 ------------------------ one thing that it changes is that now when you squash commits # This is the first patch first patch commit messages # This is the second patch second patch commit message # ------------------------ >8 ------------------------ those "# This is the first patch" and "# This is the second patch" won't be removed automatically. takes some time to get used to it. -ss