[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180320195148.GH4449@wotan.suse.de>
Date: Tue, 20 Mar 2018 19:51:48 +0000
From: "Luis R. Rodriguez" <mcgrof@...nel.org>
To: Konstantin Ryabitsev <konstantin@...uxfoundation.org>
Cc: "Luis R. Rodriguez" <mcgrof@...nel.org>,
Greg KH <gregkh@...uxfoundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Julia Lawall <julia.lawall@...6.fr>,
Nicolas Palix <nicolas.palix@...g.fr>,
Joe Perches <joe@...ches.com>, Takashi Iwai <tiwai@...e.de>,
Thomas Gleixner <tglx@...utronix.de>,
Jiri Kosina <jikos@...nel.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
akpm@...ux-foundation.org, cantabile.desu@...il.com,
kubakici@...pl, linux-wireless@...r.kernel.org,
keescook@...omium.org, shuah@...nel.org, mfuzzey@...keon.com,
zohar@...ux.vnet.ibm.com, dhowells@...hat.com,
pali.rohar@...il.com, arend.vanspriel@...adcom.com,
zajec5@...il.com, nbroeking@...com, markivx@...eaurora.org,
broonie@...nel.org, dmitry.torokhov@...il.com, dwmw2@...radead.org,
Abhay_Salunke@...l.com, bjorn.andersson@...aro.org,
jewalt@...innovations.com, oneukum@...e.com, ast@...com,
andresx7@...il.com, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH v3 19/20] firmware: add request_firmware_cache() to help
with cache on reboot
On Tue, Mar 20, 2018 at 02:54:44PM -0400, Konstantin Ryabitsev wrote:
> On 03/20/18 14:24, Luis R. Rodriguez wrote:
> > *Iff* this seems sensible, this would only mean kernel.org would have to start
> > accepting git notes long term, for those who optionally want to push them or
> > fetch them.
>
> We don't disallow them. You just need to make sure you're fetching and
> pushing them, because they aren't by default. You can set this in your
> kernel.org origin section of .git/config:
>
> [remote origin]
> ...
> fetch = +refs/notes/*:refs/notes/*
>
> And then push them separately as "git push origin refs/notes/*".
Superb, thanks!
> Since frontends clone with --mirror, the notes will be available on all
> git.kernel.org nodes (e.g. see
> https://git.kernel.org/mricon/hook-test/c/a8d310d4c13)
Good to know thanks, and it looks good!
> If you do start using notes, I strongly suggest you pick a dedicated
> refspace for it instead of putting things into the default
> refs/notes/commits, e.g.:
>
> git notes --ref crosstree [...]
>
> This will create refs/notes/crosstree that has less of a chance to be
> clobbered by someone else's use of notes.
Indeed, the default is crap. I was suggesting perhaps having it also be
per branch, so:
git note --ref branch/iso-coccinelle/ add commit-id
If it was required sed I guess
git note --ref branch/sed/ add commit-id
And if we wanted a resolution handler which could manage the above for you:
git note --ref branch/merger-script add commit-id
Which could use the above two to run what is needed to mimic the commit.
Luis
Powered by blists - more mailing lists