From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id D7F2D1F404; Sun, 1 Apr 2018 23:21:11 +0000 (UTC) Date: Sun, 1 Apr 2018 23:21:11 +0000 From: Eric Wong To: Jonathan Corbet Cc: meta@public-inbox.org Subject: [PATCH v2] Allow specification of the number of search results to return Message-ID: <20180401232111.GA25534@dcvr> References: <20180330152557.1604c836@lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180330152557.1604c836@lwn.net> List-Id: Jonathan Corbet wrote: > Allow specification of the number of search results to return Interesting, now I've learned git-am treats that as the commit title since the Subject was empty. Doesn't look that great in my MUA or public-inbox, though. > Add an "l=" parameter to the search query syntax to specify how many > results should be returned. > --- > v2: Clamp the number of results at $LIM (200). I didn't add a > configurable maximum because I wouldn't be using it; if somebody needs it > we can add it later. Sure, that's fine. I prefer having fewer knobs overall. I noticed another minor problem, but will followup in a separate patch.