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=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31756 invoked from network); 18 Dec 2021 10:07:37 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 18 Dec 2021 10:07:37 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 4ess; Fri Dec 17 11:27:42 -0500 2021 Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id ff7a85dd (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Fri, 17 Dec 2021 08:27:23 -0800 (PST) Message-ID: To: 9front@9front.org Date: Fri, 17 Dec 2021 11:27:21 -0500 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: module session-oriented frontend Subject: Re: [9front] [PATCH] git/log -n Reply-To: 9front@9front.org Precedence: bulk Quoth binarycat : > I wrote a patch for git/log to add an -n flag, which only shows the last N commits. > This seems like a fairly obvious thing to include, and it wasn't too hard to implement either. > Is there something i'm missing here? > > the patch is available here: > https://git.sr.ht/~binarycat/plan9front/commit/6f5fdf1c16dda55b56caa4edfd2f2e7df2394eb7.patch > > - binarycat > I think it'd be better to extend the git/query language to support ranges, which will make this sort of thing available to every tool.