From: Eric Sunshine Date: Tue, 10 Sep 2013 22:51:28 GMT Subject: Re: [PATCH v6 7/8] update-ref: support multiple simultaneous updates Message-ID: In-Reply-To: <74c081c4004f3a8afb38ab15aff7d3178de4a1f8.1378773895.git.brad.king@kitware.com> On Mon, Sep 9, 2013 at 8:57 PM, Brad King wrote: > diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt > index 0df13ff..0a0a551 100644 > --- a/Documentation/git-update-ref.txt > +++ b/Documentation/git-update-ref.txt > @@ -58,6 +58,58 @@ archive by creating a symlink tree). > +option:: > + Modify behavior of the next command naming a . > + The only valid option is `no-deref` to avoid dereferencing > + a symbolic ref. > + > +Use 40 "0" or the empty string to specify a zero value, except that Did you want an 's' after the "0"? 0's "0"s "0"'s zeros zeroes > +with `-z` an empty is considered missing. > + > +If all s can be locked with matching s > +simultaneously, all modifications are performed. Otherwise, no > +modifications are performed. Note that while each individual > + is updated or deleted atomically, a concurrent reader may > +still see a subset of the modifications.