Duy Nguyen writes:
> The whole prune strategy is a bit messy trying to cover all cases
> while still keeping out of the user's way. Perhaps if we implement
> "git worktree mv", or even "worktree fixup" so the user can do it
> manually (back when the prune strategy commit was implemented, there
>
(resend)
On Mon, Nov 2, 2015 at 9:51 PM, Junio C Hamano wrote:
> Jeff King writes:
>
>> [2] I suspect this code should use write_file_gently(). What happens if
>> I have a read-only linked checkout?
I can't hide anything from you guys can I? :) My first attempt was
move this update logic ba
On Mon, Nov 02, 2015 at 12:51:16PM -0800, Junio C Hamano wrote:
> Jeff King writes:
>
> > [2] I suspect this code should use write_file_gently(). What happens if
> > I have a read-only linked checkout?
>
> Or you may not be the owner of the repository, you think you are
> doing a read-only
Jeff King writes:
> [2] I suspect this code should use write_file_gently(). What happens if
> I have a read-only linked checkout?
Or you may not be the owner of the repository, you think you are
doing a read-only operation, and you silently end up creating a file
that cannot be written by th
On Mon, Nov 02, 2015 at 08:08:26PM +0100, Nguyễn Thái Ngọc Duy wrote:
> $X/gitdir is created, or refreshed, in order to keep a linked worktree
> from being pruned. But while git file is used as the foundation for
> linked worktrees, it's used for other purposes as well and we should
> not create $
On Mon, Nov 2, 2015 at 2:08 PM, Nguyễn Thái Ngọc Duy wrote:
> $X/gitdir is created, or refreshed, in order to keep a linked worktree
> from being pruned. But while git file is used as the foundation for
> linked worktrees, it's used for other purposes as well and we should
> not create $X/gitdir i
$X/gitdir is created, or refreshed, in order to keep a linked worktree
from being pruned. But while git file is used as the foundation for
linked worktrees, it's used for other purposes as well and we should
not create $X/gitdir in those cases.
Tighten the check. Only update an existing file, whic
7 matches
Mail list logo