From: Anders Kaseorg Date: Tue, 09 Nov 2021 22:58:10 GMT Subject: Re: [PATCH v4 2/4] receive-pack: Clean dead code from update_worktree() Message-ID: <12fc97fb-50dd-a441-5b8f-dd73e6d693b1@mit.edu> In-Reply-To: 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