Elijah Newren wrote: > On Fri, May 28, 2021 at 1:10 PM Felipe Contreras > <felipe.contreras@xxxxxxxxx> wrote: > > > > Simply move the code around. > > Not quite, you also deleted dead code. Made the patch a bit harder to > read because I was trying to verify you did what the commit message > said and it took me longer than it should have to realize that you > were also deleting dead code. Might be worth including that fact in > this sentence here. OK. I thought that was obvious. Shall I update the commit message to include that fact, or shall I add a separate patch to remove the dead code? Either are fine by me. > > - if (triangular) > > - die(_("You are pushing to remote '%s', which is not the upstream of\n" > > - "your current branch '%s', without telling me what to push\n" > > - "to update which remote branch."), > > - remote->name, branch->name); > > This if-block is safe to delete because we're already in the !triangular case. > > > - > > - if (1) { Techically this is removing dead code too. -- Felipe Contreras