From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: jon@ringle.org Date: Fri, 3 Aug 2018 11:44:56 -0400 Message-Id: <1533311096-14315-2-git-send-email-jon@ringle.org> In-Reply-To: <1533311096-14315-1-git-send-email-jon@ringle.org> References: <1533311096-14315-1-git-send-email-jon@ringle.org> Subject: [ptxdist] [PATCH v4 2/2] Detect changes in package patch series List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.com Cc: Jon Ringle RnJvbTogSm9uIFJpbmdsZSA8anJpbmdsZUBncmlkcG9pbnQuY29tPgoKRm9yIGEgbG9uZyB0aW1l IGl0IGhhcyBib3RoZXJlZCBtZSB0aGF0IGlmIGEgcGFja2FnZSdzIHBhdGNoZXMgd2VyZSBjaGFu Z2VkCnB0eGRpc3Qgd291bGQgbm90IGRldGVjdCB0aGlzIGNoYW5nZSBhbmQgSSB3b3VsZCBvZnRl biBoYXZlIG9sZCB2ZXJzaW9ucyBvZgoqLWRldi50YXIuZ3ogcGFja2FnZXMgdGhhdCBnb3QgdXNl ZCBiZWNhdXNlIHRoZSBwYWNrYWdlcyBwYXRjaGVzIHdlcmUKdXBkYXRlZC4KClRoaXMgY29tbWl0 IHNvbHZlcyB0aGlzIHByb2JsZW0uCgpIZXJlJ3MgaG93IGl0IHdvcmtzOgoxKSBJbiB0aGUgcGFj a2FnZSBydWxlIG1ha2VmaWxlIGFkZCBgJHtQS0d9X1NFUklFU19TSEEyNTYgOj1gCjIpIGV4dHJh Y3QgdGhlIHBhY2thZ2UuIGxpYmZha2V0aW1lIGlzIHVzZWQgdG8ga2VlcCB0aGUgY29tbWl0dGVy IHRpbWVzdGFtcAogICB0byBhIGZpeGVkIHRpbWVzdGFtcCBpbiBvcmRlciB0by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