Re: [PATCH v4 2/4] receive-pack: Clean dead code from update_worktree()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/9/21 08:16, Johannes Schindelin wrote:
We might want to make sure that `worktree` and `worktree->path` are
non-`NULL`, and otherwise call a `BUG()`.

Okay.

Okay, I lied, I have two suggestions. Shouldn't this be turned into
`worktree->is_bare`?

Sure (but in the next commit, since removing is_bare_repository() is a bug fix, not pure cleanup).

Anders



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux