From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 29093C433FE for ; Thu, 13 Jan 2022 12:03:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EE6EE831F0; Thu, 13 Jan 2022 13:03:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ossystems.com.br Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=ossystems-com-br.20210112.gappssmtp.com header.i=@ossystems-com-br.20210112.gappssmtp.com header.b="OByoUK2o"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3E111830EA; Thu, 13 Jan 2022 13:03:54 +0100 (CET) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 48A718326B for ; Thu, 13 Jan 2022 13:03:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ossystems.com.br Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=otavio.salvador@ossystems.com.br Received: by mail-qk1-x72c.google.com with SMTP id 82so6821182qki.10 for ; Thu, 13 Jan 2022 04:03:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20210112.gappssmtp.com; s=20210112; h=from:mime-version:references:in-reply-to:date:message-id:subject:to :cc:content-transfer-encoding; bh=nScpu8Rv1TT3nRDck2nLdUTkrNKSrNo6hSuWWwxgQMY=; b=OByoUK2owG+/D/9GfelA7krNV5wlOYekJ3dquQRltQJVl4XVtvM+acuSsEpuWmCHnK K2pMlcWGoALIjGs51BeOBjOLN/zyEwO6JslTave6/Xh616tOcrALfHsDMhXJbBdxHpQc l6PLl3zCmW5cowXE8b/UHaavxzGRhXTawTmxIntFBRv00kAfy8fznvKb9jrwQllOaE2+ PKb85JASwcEq9CLYs08Q2yFWg1DX92XUj3rtXlbGGCjqfmVepzSxanSMOMGRE/04W+oD NLTeEtGM75zlOZjbjWUSuNpiz9PKdNVfavVehDpiWV41XitcnZba9ykQlQMBDyqzxrwA sQkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:references:in-reply-to:date :message-id:subject:to:cc:content-transfer-encoding; bh=nScpu8Rv1TT3nRDck2nLdUTkrNKSrNo6hSuWWwxgQMY=; b=kLlCe8nGDRtOsTBY56hsS2/noEE5dLMo8J++zdcg/UDcscfleMFfO0v2lAJMKpq4CO JAremYFxkprRpX+yDDi0R6Jsk2zC0yUY7zRGtYm3a04JaoRexqMgY3t4QYgneeeWrK9m B+YaQIlDPCJTDAvieztOLLF87NZWQKLDpZopQJTiMkpgdfMWHTvx4whbKM+sCEbG2GF2 ptiLIfK1+Emyc5Aw5r4dYQYlo8nLDdiNOZogwxMEBdOb810XZu1Ja6bG1toTLym/BiEb KsEA6yYqqvGutht6yaNFKwSCMXb/nhomMuMVKiAXH5XWTRj/QfTPyujsWpRM1I9x/ZCr gVxA== X-Gm-Message-State: AOAM531jG3o8D4VeY5MmfnAIX5inTaoToRsMJdbM+jEy32G9zDvptxcm of5XfyTWx+7kV2txlznlHTB/vZCgrT2cYRte X-Google-Smtp-Source: ABdhPJxaVybKpwAvDNwvyoMAgPkLwOnMUY7KulhvkhSNKBCiVBmwNVErVE1+7wzzHeXwHba6glq0rA== X-Received: by 2002:a37:b13:: with SMTP id 19mr2129862qkl.443.1642075429545; Thu, 13 Jan 2022 04:03:49 -0800 (PST) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com. [209.85.160.172]) by smtp.gmail.com with ESMTPSA id j22sm1599867qko.117.2022.01.13.04.03.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jan 2022 04:03:49 -0800 (PST) From: Otavio Salvador X-Google-Original-From: Otavio Salvador Received: by mail-qt1-f172.google.com with SMTP id v7so6592498qtw.13 for ; Thu, 13 Jan 2022 04:03:48 -0800 (PST) X-Received: by 2002:a05:622a:1110:: with SMTP id e16mr3145664qty.293.1642075428467; Thu, 13 Jan 2022 04:03:48 -0800 (PST) MIME-Version: 1.0 References: <20220107231555.922652-1-briannorris@chromium.org> In-Reply-To: Date: Thu, 13 Jan 2022 09:03:37 -0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] patman: Support absolute and ~user-relative alias files To: Simon Glass Cc: Brian Norris , Otavio Salvador , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Em qua., 12 de jan. de 2022 =C3=A0s 18:22, Simon Glass e= screveu: > On Fri, 7 Jan 2022 at 16:16, Brian Norris wrot= e: > > > > Python doesn't naturally support tilde (~) as a user-home marker in > > paths, but git-config does. So we need to resolve it before continuing. > > > > We also shouldn't blindly join the top-level tree with the aliasesfile > > path, because it might be an absolute path. > > > > This resolves warnings like the following: > > > > Warning: Cannot find alias file '/path/to/source/tree/~/.git-email' > > > > Seen when git-config is like: > > > > $ git config sendemail.aliasesfile > > ~/.git-email > > > > Signed-off-by: Brian Norris > > --- > > > > tools/patman/gitutil.py | 11 ++++++++--- > > 1 file changed, 8 insertions(+), 3 deletions(-) > > +Otavio Salvador to check this one > > Reviewed-by: Simon Glass Some use-case of mine. Reviewed-by: Otavio Salvador --=20 Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750