git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC] fast-import: note deletion command

From
Dmitry Ivankov <divanorama@gmail.com>
Date
Sep 18, 2011, 20:59 UTC
Message-ID
<CA+gfSn9CsL4tz30B62mDzALdyy1RTFiRT4a1zdJ8pR8aTdcpXA@mail.gmail.com>
In-Reply-To
<CAGdFq_hpA95Kj4eMr4e1duuXTpr+OkkwF4K5bTapXEi9UjWcSA@mail.gmail.com>
On Mon, Sep 19, 2011 at 2:39 AM, Sverre Rabbelier <srabbelier@gmail.com> wrote:
Show 15 quoted lines
> Heya,
>
>>
>> If I were doing it:
>>
>>  - advertise "N 0{40} <commit>" as the historical way to delete a
>>   note, and make sure it keeps working
>>
>>  - introduce 'ND' or 'notedelete <commit>' as a human-friendly
>>   synonym, keeping in mind that NC and NR could be introduced in the
>>   future if there is demand for them.
>
> Is this perhaps a good moment to also think about branch deletion?
> That came up earlier as well, and thinking about that might give us
> some insights in how to deal with deletions uniformly.

Also maybe marks deletion, getting mark sha1, resetting a mark with explicit sha1. But most probably not tags deletion.

And going much further on commands, following look nice to have:
- 'ls' storing result to a mark (to allow us not to compute sha1/store
  object if we don't want to)
- marks namespaces (to keep ls mark separately, mark deletion will
  do too, if it's only a single temporary mark). Maybe like ::nr:mark.
Show 6 quoted lines
>
> --
> Cheers,
>
> Sverre Rabbelier
>
Previous: Sverre RabbelierNext: Jonathan Nieder
Message 4 of 10 in “[RFC] fast-import: note deletion command”
  1. Dmitry IvankovSep 18, 2011
  2. Jonathan NiederSep 18, 2011
  3. Sverre RabbelierSep 18, 2011
  4. Dmitry IvankovSep 18, 2011
  5. fast-import wishlist (Re: [RFC] fast-import: note deletion command)Jonathan Nieder, Sep 18, 2011
  6. Branch deletion (Re: [RFC] fast-import: note deletion command)Jonathan Nieder, Sep 18, 2011
  7. Sverre RabbelierSep 18, 2011
  8. Jonathan NiederSep 18, 2011
  9. Dmitry IvankovSep 18, 2011
  10. Sverre RabbelierSep 18, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.