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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A95D1C433F5 for ; Fri, 15 Apr 2022 23:13:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232806AbiDOXPi (ORCPT ); Fri, 15 Apr 2022 19:15:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbiDOXPg (ORCPT ); Fri, 15 Apr 2022 19:15:36 -0400 Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1C4549683 for ; Fri, 15 Apr 2022 16:13:05 -0700 (PDT) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id E6F9010D6BF; Fri, 15 Apr 2022 19:13:04 -0400 (EDT) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=0CTjQOV7HRcb4V560VdvE5W2xUFlgW6SxOmREt 9kWDc=; b=SjNKQk5TTeeX5BLLmnxzQV4dfS5UzcC2DT2/fN1kztHr+9Bd5R0Nhs MWiabnBZmu7IY0y2llQeNBMgDFoQBHXxUeYIPmcpkYPrAIPIK7g7M6kxKyZpmJVu H/Q5lIWVqQNAQ1EV9qX7mXXD17TiHOa/TYbwVy7TBuK6Cd2pxgixM= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id D8B7910D6BE; Fri, 15 Apr 2022 19:13:04 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.105.84.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 0474110D6BB; Fri, 15 Apr 2022 19:13:03 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: Miklos Vajna Cc: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason , git@vger.kernel.org Subject: Re: [PATCH v4] git-log: add a --since=... --as-filter option References: <220412.86pmlmhe9a.gmgdl@evledraar.gmail.com> Date: Fri, 15 Apr 2022 16:13:02 -0700 In-Reply-To: (Miklos Vajna's message of "Fri, 15 Apr 2022 22:39:42 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 9A2D04A4-BD11-11EC-A02A-CB998F0A682E-77302942!pb-smtp2.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Miklos Vajna writes: > This is similar to --since, but it will filter out not matching commits, > rather than stopping at the first not matching commit. > > This is useful if you e.g. want to list the commits from the last year, > but one odd commit has a bad commit date and that would hide lots of > earlier commits in that range. > > The behavior of --since is left unchanged, since it's valid to depend on > its current behavior. The above is good if it were a new --since-as-filter option. Adding "--as-filter" as a separate option to be used in conjunction with "--since" would fundamentally mean "The behaviour of --since is left unchanged" cannot possibly be true. A suggested rewrite. I label each section and highlight its point, but in the end product, you should just separate them with a blank line, making each of them into its own paragraph. Title (single line, short and to the point) log: "--as-filter" option adjusts how "--since" cut-off works Intro (observation of the current state) The "--since=