Re: [PATCH] update-ref: fail create operation over stdin if ref already exists From: Brad King <hidden> Date: 2016-06-15 23:00:37 On 04/02/2014 04:09 AM, Michael Haggerty wrote:From: Aman Gupta <redacted>[snip]quoted hunk ↗ jump to hunk@@ -147,6 +147,7 @@ static void parse_cmd_create(const char *next) struct ref_update *update; update = update_alloc(); + update->have_old = 1; Looks good. +test_expect_success 'stdin -z create ref fails when ref exists' ' Strictly speaking we should have a non-z mode test too. Thanks, -Brad
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help