From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OIyNOkuJp2LLfgEAbAwnHQ (envelope-from ) for ; Mon, 13 Jun 2022 21:00:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EDqAOkuJp2KbLQEA9RJhRA (envelope-from ) for ; Mon, 13 Jun 2022 21:00:27 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 87CA025F44 for ; Mon, 13 Jun 2022 21:00:27 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id EF4F55F6E8; Mon, 13 Jun 2022 19:00:24 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 0F0BE5F6B8 for ; Mon, 13 Jun 2022 19:00:21 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 7471B5FBD7; Mon, 13 Jun 2022 15:00:20 -0400 (EDT) Received: (nullmailer pid 52661 invoked by uid 1000); Mon, 13 Jun 2022 19:00:19 -0000 From: David Bremner To: Sean Whitton , notmuch@notmuchmail.org Subject: Re: Ignoring unknown messages for git.safe_fraction In-Reply-To: <87y1y69bq4.fsf@melete.silentflame.com> References: <87y1y69bq4.fsf@melete.silentflame.com> Date: Mon, 13 Jun 2022 16:00:19 -0300 Message-ID: <87tu8oxubg.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: QGJVCTR74Y4CPHB266WJNEJWV55MW66N X-Message-ID-Hash: QGJVCTR74Y4CPHB266WJNEJWV55MW66N X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655146827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=exoOXJkYSpA48e3R4gGGfvYcf+TF9a54n8lQ7YGW8FU=; b=HgU8lG74P7+3WIWQAxECwLp0RRC3gayzqjzWhm0I87vDRuSTKD0l2ZdOxIk2GwSQpQW3Jg Q9tiRoIx9q7+gruwoqAHqsiQI6J6AhPNWhXp9J1NjbGj2MYcLgbxGJGg4pB+Mcg/NkBmQp 9whYx/0CzblR8ryk7Xim2++TuAaaxs3zI8ysj0d1r5P0vcMRvMBKqe6Bua3qjvMLrzfKDa auX3rPkc6BQFnQ9pF0H7q/zWjie66kuNMNcyYDDZb/4Cy3Nk0fSjIVmiJ/TQTIpAuDLXDR 2i1yTBonW2e+jxLuMA1F0DoMr//HQ++Et97mzXJNqIXksKt5+8AHgt4k+AuDVA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655146827; a=rsa-sha256; cv=none; b=Gc9W4K/a6vZUOGOj8n585cFJvCRyBPW97nmaD3AR3yuOuyrNQGD73CDws9TpC7Gq2nytG0 FDXAu5XEoTTAYs5dK9Av7Bz3YmVVTf91eOtxfjMvCIimkuk//7qVc0AcdMvjkoHt7ORtOY P2jDNAKNntpCSoiHsTQfChgRhgw5Gxqyf4pz71wmo8HoAZY2kSlBmu2x+PS/nhghMafWnE oF6bzUbkfmu0wqnB8JCFAFnoza4R9uUGRni0dqztosc81fqadcsgeHmYA3GG5I22j0LTfs IbAZVaspi3liLwAWzDXcx54mCkqwHm8BnmFiirwXfOMaTvfgo55/VnVHb2z6zg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 87CA025F44 X-Spam-Score: -2.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: w+f3rNYULE8a Sean Whitton writes: > Hello, > > On one machine I have only some of my mail, and so 'notmuch git status' > will always have a lot of lines starting with "U". But then > git.safe_fraction will always be exceeded. How about ignoring > status['missing'] in check_safe_fraction, by default? > OK, i did that in git. That's my only change since last posting the series. Barring anyone saying "wait, I want to review this python script", I'll probably merge to master this week some time. d