Re: [PATCH 4/4] notes: refuse to edit notes outside refs/notes/
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Feb 14, 2009, 19:56 UTC
- Message-ID
- <200902142056.42198.trast@student.ethz.ch>
- In-Reply-To
- <alpine.DEB.1.00.0902142032210.10279@pacific.mpi-cbg.de>
Johannes Schindelin wrote:
Show 10 quoted lines
> On Sat, 14 Feb 2009, Thomas Rast wrote: > > Since it is supposed to be a plumbing frontend for the notes feature, > > simply forbid editing notes with GIT_NOTES_REF pointing anywhere but > > refs/notes/*. > > ACK. > > Except maybe for calling it "plumbing". "git notes" is meant to be _the_ > porcelain of the "notes", and that is why I like the idea to restrict it > to refs/notes/* for editing (not for anything else, though).
That's what I actually wanted to write. Maybe I should go get more coffee...
Thanks for the acks. Will resend with 3/4 corrected, and add a conversion to test_must_fail.
--
Thomas Rast
trast@{inf,student}.ethz.ch