From: Sverre Rabbelier Date: Sun, 18 Sep 2011 20:39:40 GMT Subject: Re: [RFC] fast-import: note deletion command Message-ID: In-Reply-To: <20110918203506.GG2308@elie> Heya, On Sun, Sep 18, 2011 at 22:35, Jonathan Nieder wrote: >> ND commit_sha1 # One may think there are also NC, NR, NM >> N delete commit_sha1 >> # Only :mark, full-40-byte-sha1 and 'inline' are allowed currently. >> # So no clashes arise, but then one may also want M 'delete' path >> # command to work too. > > If I were doing it: > >  - advertise "N 0{40} " as the historical way to delete a >   note, and make sure it keeps working > >  - introduce 'ND' or 'notedelete ' 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. -- Cheers, Sverre Rabbelier