Re: [RFC PATCH 0/4] interpret-trailers: introduce "move" action
- From
Paolo Bonzini <pbonzini@redhat.com>
- Date
- Oct 6, 2017, 13:49 UTC
- Message-ID
- <5dc97064-7d6a-b32d-c25b-202f85041373@redhat.com>
- In-Reply-To
- <CAP8UFD2_ZC4J4eRxq04TJ6-xyK5oTqHM2qd+5HfPV7jcoShvqw@mail.gmail.com>
On 06/10/2017 15:19, Christian Couder wrote:
Show 5 quoted lines
> Now it would be strange to have "moveIfClosest" without having "move" > first and I don't see how "move" would be different from the existing > "replace". > Or maybe "move" means "replaceIfIdentical", in this case I think it > would help users to just call it "replaceIfIdentical".
Well, the effect of "replacing if identical" *is* to move the existing identical trailer to the new position. :)
Paolo