Re: branch description as a note?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 12, 2024, 01:00 UTC
- Message-ID
- <xmqqseqthg0h.fsf@gitster.g>
- In-Reply-To
- <D697HA5ZDN2K.1I643FREX8WKC@ferdinandy.com>
"Bence Ferdinandy" <bence@ferdinandy.com> writes:
> Not to a commit, but to a branch. I mean I know a branch is just a reference to > a specific commit, but in this case the mapping would be from the branch's > _name_ to the note object.
I am not really sure if you know what you said you know above.
Notes are designed to map object names to blobs (technically you can point at a random other objects but "notes edit" and other UI would only work with blobs). A branch does not have its "object name", because it is *not* an object.
What you are saying sounds like "I know a screwdriver is not a chisel, but a screwdriver has a flat blade-like head, so I want to use it as a chisel".