From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b8-smtp.messagingengine.com (fout-b8-smtp.messagingengine.com [202.12.124.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA9F2224AF9 for ; Tue, 28 Apr 2026 01:46:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777340784; cv=none; b=gawgn1iLzfO+rt1x7o0D+BQ13+p44PVdXaQyFUUrztfUnIMg42gkC7kdjBpSjRZJD0AGDsogvxHgbq/sEF6ez7LcSRrnQIp/VMv/LnI5zrS6BAP4DSLAfxRo7tXdxL4pNQqHq2zO9CF1yh5MMxGAzII7WJ7iwpDe0WmRXHeXv4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777340784; c=relaxed/simple; bh=/m4mQtEAP8x3d08S3E6JkgL5/hYrWC+RMR+rrMRn0b8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=YxvtmCAkhDJJCj9dBtrtX+YRJQETigRUF0ECa6bg5qDMzkC5DNK7P0JL35CdEszCV38S/Qc2zg3qPz5bxvcGek1zK72TWN+v2XL5N8kamuguhjPN69MHUh5Kur6FTHqKyQzEtixwYFgVfhUKPCPKM2RNc+qOVm/fQEcoVN4rutU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com; spf=pass smtp.mailfrom=pobox.com; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b=ifmOmRli; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=R803ZhLj; arc=none smtp.client-ip=202.12.124.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b="ifmOmRli"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="R803ZhLj" Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id E77431D00232; Mon, 27 Apr 2026 21:46:22 -0400 (EDT) Received: from phl-frontend-01 ([10.202.2.160]) by phl-compute-01.internal (MEProxy); Mon, 27 Apr 2026 21:46:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1777340782; x=1777427182; bh=h7wIOj/RX9 VCOVINfvY7Pku6NJhnI5wyL7YZCcFLeTQ=; b=ifmOmRli6/GbmOat4l7RzbZG2i NRY+HHINC8s0OF8KGWmsiDYJsCbZ+RL+0kPpO5W/1pqGhVibhy7QlKNLQ/yGBIxg U3lolRNxWVWrr4d7kvTp6duBd8xvSLUwp1+S1OeQZkt7eFRyFfY+uDSrDdZUvwvH arW9rp2XtiVmF2L9mU9W9z0BbbZsUPtPij6doaOgp85Jwz9Gtd9Zu/Yz7ezbLSvc cS5etFbAstWGySbQr0LyTb+00C5ZRX3uf6GOU1so1ehdZG++G0zkgxZFOtF86TpU UJG8DEGG4obZVE9eSv0rW2zlZmoogCXvnkG1XYzy568udClmgi7cPNnKEvDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1777340782; x=1777427182; bh=h7wIOj/RX9VCOVINfvY7Pku6NJhnI5wyL7Y ZCcFLeTQ=; b=R803ZhLj98JoWGTEu5ag+32FcuIm3rWrxnQ5KB+An+aUsf+xTX3 RZqHoS1HZyZwQ8a4/45pRBzOxCCS3JlM6RA+gCe1e5Va0qYF2rp+C7OsnkUuhe4C 9TE0dZoZq+mXEeLq9C97jxwdeCEgTnPUlLAbGss3MfaNVLexG/0pKXWde+XSKcqV FZRylstl2vISUz+/1PF+vcX8fzWgHV13urOOuu262vsgaRzYIuD4e9Y4c54S7Kul bmOU54vLvmsmZi9eX20n+Tsom8G8i4CHj55FUXkKKHu20DvXOJLumeX1ek313wyX Yj9sAL4YpagIZeSN7KhIouqOFHIweX8p43g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdektddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufgjfhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhnihhoucev ucfjrghmrghnohcuoehgihhtshhtvghrsehpohgsohigrdgtohhmqeenucggtffrrghtth gvrhhnpeefveetteejheeugeffledvteeiveffueefjeelueffteeigffgfedthfefieeg ieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgih htshhtvghrsehpohgsohigrdgtohhmpdhnsggprhgtphhtthhopeelpdhmohguvgepshhm thhpohhuthdprhgtphhtthhopehmrhhoihhkseguvghlrgihvggurdhsphgrtggvpdhrtg hpthhtohepghhithesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehpvghf fhesphgvfhhfrdhnvghtpdhrtghpthhtohepjhhnrdgrvhhilhgrsehfrhgvvgdrfhhrpd hrtghpthhtohepphhssehpkhhsrdhimhdprhgtphhtthhopegtrghtsehmrghlohhnrdgu vghvpdhrtghpthhtohepsggvnhdrkhhnohgslhgvsehgmhgrihhlrdgtohhmpdhrtghpth htoheptghhrhhishdrthhorhgvkhesghhmrghilhdrtghomhdprhgtphhtthhopehgihht shhtvghrsehpohgsohigrdgtohhm X-ME-Proxy: Feedback-ID: if26b431b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Apr 2026 21:46:22 -0400 (EDT) From: Junio C Hamano To: Mirko Faina Cc: git@vger.kernel.org, Jeff King , =?utf-8?Q?Jean-No?= =?utf-8?Q?=C3=ABl?= Avila , Patrick Steinhardt , Tian Yuchen , Ben Knoble , Chris Torek Subject: Re: [PATCH v4 1/2] revision.c: implement -b-reverse=before for walks In-Reply-To: (Mirko Faina's message of "Mon, 27 Apr 2026 18:48:56 +0200") References: <4864ac46dd8ef4b704c29efc96c45f4e1412373b.1777249165.git.mroik@delayed.space> X-Gnus-Delayed: Fri, 01 May 2026 09:45:07 +0900 Date: Tue, 28 Apr 2026 10:46:21 +0900 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Mirko Faina writes: >> It might be that the right way to look at this new feature is not that >> "we are changing where reverse is applied", but "count limit is applied >> much later than usual" > > maybe --max-count-later as in max count is being applied later than > usual? (either way the users will still need to reach for the man pages > for clarifications). I very much more prefer what J6t suggested, which (if I am understanding him correctly) would make git log --max-count-oldest=3 $options conceptually run "git log" (without count limit but with other options like --grep, --author, --since, etc. applied) without showing anything until the last three commits remains, and then shows these last three commits. git log --max-count-oldest=3 --reverse $options would show these same last three commits, but in the order opposite to the first one.