Re: [PATCH v5 1/2] printk: Add console owner and waiter logic to load balance console writes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018-01-12 18:11, Steven Rostedt wrote:
> On Fri, 12 Jan 2018 11:54:54 -0500
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> 
>> #include <linux/module.h>
>> #include <linux/delay.h>
>> #include <linux/sched.h>
>> #include <linux/mutex.h>
>> #include <linux/workqueue.h>
>> #include <linux/hrtimer.h>
>>
>>
> 
> 
>>
>> 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 ------------------------

and git should be smart enough to insert that in the editor it fires up
for a commit message.


[1] https://github.com/git/git/blob/master/Documentation/RelNotes/2.0.0.txt

Rasmus

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux