From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: jon@ringle.org Date: Fri, 3 Aug 2018 04:41:56 -0400 Message-Id: <1533285716-7652-1-git-send-email-jon@ringle.org> Subject: [ptxdist] [PATCH v3] 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 Y3QgdGhlIHBhY2thZ2UgYW5kIGZyb20gdGhlIHBhY2thZ2VzIHNyYyBkaXIgZG8gYGdpdCBwdHgt cGF0Y2hlc2AKICAgVGhpcyB3aWxsIHBvcHVsYXRlIHRoZSBydWxlIG1ha2VmaWxlIF9TRVJJRVNf U0hBMjU2IHZhbHVlCjMpIEFueXRpbWUgeW91IG1ha2UgYSBwY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