Re: [tip:perf/urgent] perf/core: Fix lock inversion between perf,trace,cpuhp

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

 



On Wed, 24 Jan 2018 08:57:10 -0800
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> Maybe git should have used a different comment scheme, but I have to
> admit that I think this is the first time I've heard of this issue
> causing problems in practice. I'm sure it's triggered before, and
> nobody has noticed (or I wasn't on the cc).

It does happen a bit in practice. It's nailed me a few times. I just
consider it as the way git works and didn't complain.
 
> 
> So the '#' thing _normally_ works, but yes, it can cause issues.

I just brought this up here:

 http://lkml.kernel.org/r/20180112121148.20778932@xxxxxxxxxxxxxxxxxx

And someone replied with a pointer to:

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

suggesting 

   git config commit.cleanup scissors

Where git looks for:

 # ------------------------ >8 ------------------------

and does not delete comments before it. But this could play havoc when
doing squash though.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux