From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: jon@ringle.org Date: Fri, 3 Aug 2018 04:00:17 -0400 Message-Id: <1533283217-20702-1-git-send-email-jon@ringle.org> Subject: [ptxdist] [PATCH v2] 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 a2FnZSBydWxlIG1ha2VmaWxlIGFkZCBgJHtQS0d9X1NFUklFU19NRDUgOj1gCjIpIGV4dHJhY3Qg dGhlIHBhY2thZ2UgYW5kIGZyb20gdGhlIHBhY2thZ2VzIHNyYyBkaXIgZG8gYGdpdCBwdHgtcGF0 Y2hlc2AKICAgVGhpcyB3aWxsIHBvcHVsYXRlIHRoZSBydWxlIG1ha2VmaWxlIF9TRVJJRVNfTUQ1 IHZhbHVlCjMpIEFueXRpbWUgeW91IG1ha2UgYSBwYXRjaC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