Thread (24 messages) flat view 24 messages, 4 authors, 2021-11-10

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

From: Anders Kaseorg <hidden>
Date: 2021-11-09 22:58:28

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help