From patchwork Tue Dec 18 10:30:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10735371 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 38B1C1399 for ; Tue, 18 Dec 2018 10:30:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 294682A6E4 for ; Tue, 18 Dec 2018 10:30:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1DE782A6E6; Tue, 18 Dec 2018 10:30:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DC4DC2A6FB for ; Tue, 18 Dec 2018 10:30:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D7C0A6EAF3; Tue, 18 Dec 2018 10:30:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3DC926EAEC; Tue, 18 Dec 2018 10:30:23 +0000 (UTC) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181218103021euoutp0158faf5868c851dd595626b2304bd70b5~xZqikEM5H0512405124euoutp01t; Tue, 18 Dec 2018 10:30:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181218103021euoutp0158faf5868c851dd595626b2304bd70b5~xZqikEM5H0512405124euoutp01t Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181218103021eucas1p1805b45a3b308b2e7b19de7d868247feb~xZqh-MnIt1239012390eucas1p1Z; Tue, 18 Dec 2018 10:30:21 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 76.7B.04441.C3CC81C5; Tue, 18 Dec 2018 10:30:20 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181218103020eucas1p144a1da4116ddbf8a06eb2846e88236d5~xZqhL3HmG3162931629eucas1p1w; Tue, 18 Dec 2018 10:30:20 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-7a-5c18cc3c92cf Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 86.74.04284.C3CC81C5; Tue, 18 Dec 2018 10:30:20 +0000 (GMT) Received: from AMDC3748.DIGITAL.local ([106.120.43.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PJX00E1EH6JBQ40@eusync4.samsung.com>; Tue, 18 Dec 2018 10:30:20 +0000 (GMT) From: Andrzej Hajda To: dri-devel@lists.freedesktop.org, dim-tools@lists.freedesktop.org Subject: [maintainer-tools PATCH v2 0/4] dim: fix git directory evaluation Date: Tue, 18 Dec 2018 11:30:12 +0100 Message-id: <20181218103016.8070-1-a.hajda@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgF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87FsBNJaDg1fAXGJdiwPENnmJ 1RsOME9g5FrAyLCKUSS1tDg3PbfYUK84Mbe4NC9dLzk/dxMj0Lvbjv3cvIPx0sbgQ4wCHIxK PLwMJ8RjhFgTy4orcw8xSnAwK4nw3iqViBHiTUmsrEotyo8vKs1JLT7EKM3BoiTOe96gMkpI ID2xJDU7NbUgtQgmy8TBKdXAqPOXrXPeh59bpluu9vzIpMlbcDPowZe4Kc1b1uhf2H7p7v9D ux4/PqJf7fBvRhPr7Sap2vp15eEm066sswr+9Y7PR+pSf6Ktc+2SvL8ifVtW+Ghvyoi25u46 /oZ1VcsxkfvHFt8QfXvsXCLz8rCiGj2vmycO/ZBw2qKS3SvQn1LJ0uuW03tjlRJLcUaioRZz UXEiACDKOOPqAQAA X-CMS-MailID: 20181218103020eucas1p144a1da4116ddbf8a06eb2846e88236d5 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181218103020eucas1p144a1da4116ddbf8a06eb2846e88236d5 References: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi all, This small patchset fixes issues with dim and git worktree's. In v2 I have: - removed incorrect rr_cache_dir fix patch, - added patch fixing update_rerere_cache, - added patch converting git_dir function to use git rev_parse, - added R-Bs (thanks Daniel). Regards Andrzej Andrzej Hajda (4): dim: allow git_dir to specify arbitrary work directory dim: fix git directory handling dim: fix update_rerere_cache dim: use git rev-parse to get git directory dim | 44 +++++++++++++++++--------------------------- 1 file changed, 17 insertions(+), 27 deletions(-)