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

Re: filter-branch: Remove original/* (was Re: [RFC] What's the best UI for 'git submodule split'?)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 14, 2009, 21:25 UTC
Message-ID
<alpine.DEB.1.00.0902142219010.10279@pacific.mpi-cbg.de>
In-Reply-To
<431341160902131845g58d99635ie0735b433802d6be@mail.gmail.com>
Hi,
On Fri, 13 Feb 2009, Eric Kidd wrote:
Show 15 quoted lines
> On Thu, Feb 12, 2009 at 4:59 PM, Johannes Schindelin
> <Johannes.Schindelin@gmx.de> wrote:
> >
> > On Thu, 12 Feb 2009, Eric Kidd wrote:
> >
> > >   rm .git/refs/original # or just use --force below
> >
> > BTW I wanted to get rid of this for a long time now, but I cannot seem 
> > to find the time to work on it.  The 'original' refs should not be 
> > needed, as that's a job for the reflogs (yeah, people tried to 
> > convince me back then, but I finally got it, okay?)
> 
> Removing the original/* directory would certainly make my life easier. 
> But the reflog only stores backups for branch heads, not tags, right? If 
> there's a good way to handle this, I'd be happy to send a patch.

Hmm. Indeed, we ignore reflogs in log_ref_write() when the ref starts with refs/tags/ (implicitly, not explicitely).

Maybe it is time to change that.

Ciao, Dscho

Previous: Eric KiddNext: Junio C Hamano
Message 2 of 12 in “filter-branch: Remove original/* (was Re: [RFC] What's the best UI for 'git submodule split'?)”
  1. Eric KiddFeb 14, 2009
  2. Johannes SchindelinFeb 14, 2009
  3. Junio C HamanoFeb 15, 2009
  4. Johannes SchindelinFeb 15, 2009
  5. Junio C HamanoFeb 15, 2009
  6. Johannes SchindelinFeb 15, 2009
  7. Junio C HamanoFeb 15, 2009
  8. Junio C HamanoFeb 15, 2009
  9. Johannes SchindelinFeb 16, 2009
  10. Johannes SchindelinFeb 16, 2009
  11. Johannes SchindelinFeb 16, 2009
  12. Sitaram ChamartyFeb 16, 2009

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.