Re: [PATCH/RFC 6/7] refs: add update_refs for multiple simultaneous updates
- From
Brad King <brad.king@kitware.com>
- Date
- Aug 29, 2013, 19:30 UTC
- Message-ID
- <521FA154.8050105@kitware.com>
- In-Reply-To
- <521F90EC.6040208@kitware.com>
On 08/29/2013 02:20 PM, Brad King wrote:
> I wasn't happy with the asymmetry either but forgot to raise it in > the cover letter. We need a way to represent "old value not given" > as different from "old value is_null_sha1".
[snip]
> Another approach is to add a dedicated member to struct ref_update.
FYI, I chose the latter approach for simplicity. The member can be folded into the flags by future refactoring if needed.
-Brad