{"thread":{"id":"51177","subject":"receive.denyCurrentBranch that allows pushing data, just not changing branch","startedAt":"2019-05-25T21:48:44Z","lastAt":"2019-05-25T23:39:46Z","messageCount":2,"participants":["Shawn Landden","Ævar Arnfjörð Bjarmason"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"376225","messageId":"CA+49okox4CfSWgQrdAYrM=R3ZNThWgkEY9RZtDzOMxAVs5b7Dw@mail.gmail.com","threadId":"51177","inReplyTo":null,"subject":"receive.denyCurrentBranch that allows pushing data, just not changing branch","fromName":"Shawn Landden","fromEmail":"slandden@gmail.com","sentAt":"2019-05-25T21:48:30Z","receivedAt":"2019-05-25T21:48:44Z","isPatch":false,"sender":{"key":"slandden@gmail.com","avatar":null},"body":"It would be nice if when pushing to a checked out repo you could get\nup git to still push the commits, just not update the branch's HEAD.\n\n-Shawn Landden\n"},{"id":"376226","messageId":"875zpyf6ip.fsf@evledraar.gmail.com","threadId":"51177","inReplyTo":"CA+49okox4CfSWgQrdAYrM=R3ZNThWgkEY9RZtDzOMxAVs5b7Dw@mail.gmail.com","subject":"Re: receive.denyCurrentBranch that allows pushing data, just not changing branch","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2019-05-25T23:39:42Z","receivedAt":"2019-05-25T23:39:46Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"\nOn Sat, May 25 2019, Shawn Landden wrote:\n\n> It would be nice if when pushing to a checked out repo you could get\n> up git to still push the commits, just not update the branch's HEAD.\n\nHow would this proposed feature differ from what\nreceive.denyCurrentBranch=false does now?\n\nYou have a commit X in a non-bare repo. Your checkout is checked-out to\nX, your index has X's content in it, and the branch reference is at X.\n\nNow you push Y to the branch reference, what would you like to have\nhappen to the checkout & index at this point?\n"}]}