From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH] tag: support mixing --sort= and -n Date: Sat, 05 Sep 2015 21:38:50 -0700 Message-ID: References: <20150905175202.GC7050@zero.home> Mime-Version: 1.0 Content-Type: text/plain Cc: Jacob Keller , Rudy Matela , Git Mailing List , Jeff King To: Karthik Nayak X-From: git-owner@vger.kernel.org Sun Sep 06 06:39:00 2015 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZYRjF-0005cW-7R for gcvg-git-2@plane.gmane.org; Sun, 06 Sep 2015 06:38:57 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750948AbbIFEix (ORCPT ); Sun, 6 Sep 2015 00:38:53 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:33431 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750804AbbIFEiw (ORCPT ); Sun, 6 Sep 2015 00:38:52 -0400 Received: by pacex6 with SMTP id ex6so62673934pac.0 for ; Sat, 05 Sep 2015 21:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=kWxbovYUwwW8MWXSuK6VH0SVgc0Jo/juwokvFFwt6+Q=; b=s3Ckm71mvhej7oz+RJXWe4xB8osO6Qo18ka9NXTilaEq7oZHeJOhNWqKMaB3auWY1G K03YsCOo/gSm1vJSpttVsI+Tl+FLM/EzaScq3MrIRevm2Ni8qeajJ/FsfdckgBgSS0ow IepJjTyt6r2FjFVS0XOh4BtT8cVY1SQqK7xYOiVaJ4NjKRxOp80mzp2JndPEbEXn90Hh T2iNMS43hfT5dWe3mt0hCydk6ssZ6XD4ftHCFmG/z2RdGiQfgK3VFumdnVhjIOVvx3nK pgNWyu6a3I+r5RJQGVVVAJcZTSWLVswwMMUz5kVxUx5l0p0mS30jXIwoUEe+iS+qG8xF HeiA== X-Received: by 10.68.231.5 with SMTP id tc5mr29260708pbc.54.1441514331900; Sat, 05 Sep 2015 21:38:51 -0700 (PDT) Received: from localhost ([2620:0:1000:861b:91db:290:be53:1b89]) by smtp.gmail.com with ESMTPSA id s6sm7443902pdj.62.2015.09.05.21.38.50 (version=TLS1_2 cipher=AES128-SHA256 bits=128/128); Sat, 05 Sep 2015 21:38:51 -0700 (PDT) In-Reply-To: (Karthik Nayak's message of "Sun, 6 Sep 2015 09:22:36 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Karthik Nayak writes: > On Sun, Sep 6, 2015 at 3:55 AM, Jacob Keller wrote: >> On Sat, Sep 5, 2015 at 10:52 AM, Rudy Matela wrote: >>> >>> Allow -n and --sort=version:refname to be used together >>> instead of failing with: >>> >>> fatal: --sort and -n are incompatible >>> >>> Signed-off-by: Rudy Matela >> >> Nice! I've been wondering about this one for a while. Especially since >> implementing tag.sort configuration which made -n not work at all. >> >> Note that it may be worth rebasing this on top of Karthik's part tag >> to use ref-filter series, since I think there will be plenty of merge >> conflicts there... > > Its already resolved in my series. We use ref-filter's sorting APIs > there :) I guess Jacob needs to rebase that tag.sort thing on top of yours, then ;-)?