Re: [PATCH] http-push: ensure unforced pushes fail when data would be lost
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jun 23, 2020, 21:28 UTC
- Message-ID
- <CAPig+cSPwR_0xR5X50dbBAJ9EJKqP7Vyu_e3jsq_WOg=B0tKXQ@mail.gmail.com>
- In-Reply-To
- <20200623202129.2616672-1-sandals@crustytoothpaste.net>
On Tue, Jun 23, 2020 at 5:23 PM brian m. carlson <sandals@crustytoothpaste.net> wrote:
Show 9 quoted lines
> When we push using the DAV-based protocol, the client is the one that > performs the ref updates and therefore makes the checks to see whether > an unforced push should be allowed. We make this check by determining > if either (a) we lack the object file for the old value of the ref or > (b) the new value of the ref is not newer than the old value, and in > either case, reject the push. > [...] > Signed-off-by: René Scharfe <l.s.r@web.de> > Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Do you want a "Reported-by: Michael Ward <mward@smartsoftwareinc.com>" in this vicinity?