Re: [PATCH] refs.c: clean up write_ref_sha1 returns

2015-01-28 Thread Stefan Beller
On Mon, Jan 26, 2015 at 7:22 PM, Junio C Hamano gits...@pobox.com wrote: Stefan Beller sbel...@google.com writes: I can redo the atomic-push-fix series with this cleanup merged into the appropriate patches or you could just queue it on top of said series. Yeah, I do not think we

[PATCH] refs.c: clean up write_ref_sha1 returns

2015-01-26 Thread Stefan Beller
write_ref_sha1 now either returns 0 for a successful write or !=0 if an error occurred. This cleanup results in cleaning the code at other places as well where we had to set force_write to make the write_ref_sha1(...) || commit_ref(...) combination work. Also the checks for the optimisation of old

Re: [PATCH] refs.c: clean up write_ref_sha1 returns

2015-01-26 Thread Junio C Hamano
Stefan Beller sbel...@google.com writes: I can redo the atomic-push-fix series with this cleanup merged into the appropriate patches or you could just queue it on top of said series. Yeah, I do not think we are expecting to fast track these two series through 'next' to 'master'