From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10104 invoked from network); 27 Jan 2022 18:14:13 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 27 Jan 2022 18:14:13 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1643307253; b=Bkrm/fFuNphulY2bHm1z9lwDIrPpjk+v1HKptcTeuIillUtWR09qvvcMMUkCx5n0ssHfgDNk8x 71yUNlbX/lqVajJgTbLuPn2iyVgsYGizha/3zwt1ECbCjlTOYMSQioetb+fdK7ORDe4k7WGIcm teck7eVY1V55JtB5zLPaDGKeEYkVvOTrlSytK53e4lQaIOPjbObPUvfM6UzgwDCCbLkPOkCjxm N38GTR6LIe4lVaLXY1GuoUuX3mOGlzTX6MPTK1x79EPvWXbwqJjtrBUWJuYdWycs4UKISSYMwA v6KBYEgRG3Z4MzqQDbFTEQr7HPJPHZyQXxOj62fwZC6xRQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out2-smtp.messagingengine.com) smtp.remote-ip=66.111.4.26; dkim=pass header.d=daniel.shahaf.name header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1643307253; bh=yaXmFq+he3cSTdAkyN2xyTP8wt6cZ+kfEXDXXjU08bw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Subject:Cc:To:From: Date:References:In-Reply-To:Message-ID:MIME-Version:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=YF08i6C3SrUNM3akbzUbT2CHufWFsxjX803IIBT8U0FDm/mSZ4WSE9jjRi2Id7rsvT4rEikaAz V7eX6DPKRAh5y3ogdEWqukYF4UlgqYEiV5dxM4woqKVlVMl/wtzqZbLXu45TS3BlWLfXdzMqo4 KXBApb/UaHmVx/XKu8FR1EMYIM9ITvY4IcRyU6YrcaxeSFbkAoXY0sUGNobYIJkTRS5q9gfG+T mIFTaEaDCImFJj4mvw/4190P0hrbw5xILyVV0O5vG3I8XZ57md05monsrKPJfeOOAQReGfkQKA QAJlwFuAg9KjHDoAefR2j5tDONSnWiaLp63h4BnKY63+bA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Subject:Cc:To:From:Date:References:In-Reply-To:Message-Id: Mime-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=Xrbio8SbgYnF4RXytf07RsrTf2VWYK2h4iZdyFQPiwk=; b=cvQYh46PmbnZlIGKXO2RyJ/fCI g/HuwVd0ZN7oj8DbwUpfwBgug7SVjYeTqaMuBYov0UiXQat5KcD3CVGKndnvoDTUrgwFrOfAV2n0o wfOzk1z8v1FDWCc/9zyxIUY4a9MOs4igtM5yoj9huhBpjo6aFY9sbCdalgSAhbMihOAoRTtqb1teL aXE+vCjkhjswoFRUdENfW9Bscbnfcs39sABOgFtRyL5BO83y2RJZykqWLbGiZ2DqCuqtb3Dxki0qB xbkCPrmUEka6/WFmoVAfZq1e2i5Ztw2IZRAKk6lHZItgIl+uVgmHOJdAHmA5HeJS1PbITnrDqh8nL GrALmgKQ==; Received: from authenticated user by zero.zsh.org with local id 1nD9Hg-000Gon-5t; Thu, 27 Jan 2022 18:14:12 +0000 Authentication-Results: zsh.org; iprev=pass (out2-smtp.messagingengine.com) smtp.remote-ip=66.111.4.26; dkim=pass header.d=daniel.shahaf.name header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55455) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1nD9HL-000GNw-9N; Thu, 27 Jan 2022 18:13:52 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8A1C35C0264; Thu, 27 Jan 2022 13:13:50 -0500 (EST) Received: from imap46 ([10.202.2.96]) by compute4.internal (MEProxy); Thu, 27 Jan 2022 13:13:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; bh=Xrbio8SbgYnF4RXytf07RsrTf2VWYK2h4iZdyF QPiwk=; b=CoMEy+XhYfqoKJciVaL95b1Wn54RNpqwWN4TeVIvNgSKU8xqwM4NHZ AbYA5s+hRbQPooQYFOQ6o46xtZ3BKur+wO6bqHe6XiDhaXIuu3+3vyMWcWttvNmz z7y8Xro1cr7HjG63cQHkdwg2oPpKNHJYdDJaRXTvLiD+kbrIBy9uzIhunxjjJhg3 EMvJh94SZMFhV1Zv10AZj4TcpTmL6x1ORZt6Gc2ydf3arfX/7gEq4B/7IQ3/VyDB 1+OBbbdVpUNKZlLJiiy1LsaDuckghzp8fZ5dlRU0pqYUyqaQT5SKFe/v8JgfQ8yA 0Tv3g52w1n7tVUm22O/gciRhWX1VKcvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Xrbio8SbgYnF4RXytf07RsrTf2VWYK2h4iZdyFQPi wk=; b=LzGS+E8Wu6/MjF2t6hgaXaovsnhXbDUkL8qSNVz3nT6E6GBXhmeFSnXSe 93SQtIvwgFajntFigDLHj0UVnsYtgpsv/0mipyJ0InzrxgNkmrz27KNuOqShLFaa 93WATsQUMfxekcwgmMBEwt7F6NV2uyv5MzVE+/9EzzMdpgsBPlSgSJ+J5hxGKtp7 38BYDGUJgHjFEUvJ6xY6Pe7qVMMFoNpjHpx2JPNefntUTr9jIEQgjdE70OWXNqZ7 EX0Zrmx15tGC5pQFKM6JHTtGZkxotxIPo5W5QfHzuAK1kSaFQKPZHcN9RJLluLco z98U0ivlcN/EryoaI/LiNpLDRJNCw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrfeefgdduuddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomhepfdffrghnihgvlhcuufhhrghhrghffdcuoegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvgeqnecuggftrfgrthhtvghrnhepfefhkeefve eileelheeiffdtkedujeelvdfhtdejtdeggedvuefffeelhefhvdfgnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrd hshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4EA761EE007B; Thu, 27 Jan 2022 13:13:50 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4585-ga9d9773056-fm-20220113.001-ga9d97730 Mime-Version: 1.0 Message-Id: In-Reply-To: <20220127175814.10179-2-danielsh@tarpaulin.shahaf.local2> References: <20220127175814.10179-1-danielsh@tarpaulin.shahaf.local2> <20220127175814.10179-2-danielsh@tarpaulin.shahaf.local2> Date: Thu, 27 Jan 2022 18:12:18 +0000 From: "Daniel Shahaf" To: zsh-workers@zsh.org Cc: "Marc Finet" Subject: Re: [PATCH 2/2] vcs_info quilt: Use quilt-patch-dir and ${QUILT_PATCHES} even when get-unapplied hasn't been set Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 49724 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Daniel Shahaf wrote on Thu, 27 Jan 2022 17:58 +00:00: > This affects the post-quilt hook. Before this patch, if no patches ha= ve > been applied and get-unapplied hasn't been set, the second argument to > that hook would undergo null elision. > > The generation of patch subjects for the gen-applied-string, > gen-unapplied-string, and set-patch-format hooks was unaffected since > it was guarded by [[ -n $patches ]]. While we're on the subject of hooks, I've been wondering how to pass the quilt patches dir path to my gen-applied-string hook. (I have a hook that does lsdiff on patches that have no header.) Right now I'm just using $patches, since, well, that works. The post-quilt hook gets that value passed to it, but that doesn't help since it runs _after_ gen-applied-string. I suppose I could add another hook that runs sooner=E2=80=A6 Cheers, Daniel