Re: [PATCH 1/3] retain reflogs for deleted refs
- From
Jeff King <peff@peff.net>
- Date
- Jul 22, 2012, 15:50 UTC
- Message-ID
- <20120722155056.GA22641@sigill.intra.peff.net>
- In-Reply-To
- <61E46C90-5C8F-4E11-8CB7-0A05F1D62A8A@gmail.com>
On Sun, Jul 22, 2012 at 04:40:14PM +0200, Alexey Muranov wrote:
Show 9 quoted lines
> > 3. Most importantly, it does not resolve D/F conflicts (it has the
> > same problem as "logs/refs/heads/a~"). If you delete "foo/bar", you
> > will end up with "logs/refs/heads/foo/bar@{...}". That will prevent
> > D/F conflicts with a new branch "foo/bar/baz", but will still have
> > a problem with just "foo".
>
> Unfortunately i do not really follow this, because i have not seen any
> directories in "logs/refs/heads/", i only saw files named after local
> branches there. I do not know how directories are used there.The user is free to have branch names with slashes, in which case they are represented in the filesystem as directories. Even without using slashes in your branch names, you already have subdirectories in refs/remotes.
-Peff