git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Karthik Nayak <karthik.188@gmail.com>
Cc: git@vger.kernel.org, christian.couder@gmail.com,
	Matthieu.Moy@grenoble-inp.fr
Subject: Re: [PATCH v11 12/13] tag.c: implement '--format' option
Date: Mon, 17 Aug 2015 12:04:59 -0700	[thread overview]
Message-ID: <xmqqwpwtd9d0.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <1439661643-16094-13-git-send-email-Karthik.188@gmail.com> (Karthik Nayak's message of "Sat, 15 Aug 2015 23:30:42 +0530")

Karthik Nayak <karthik.188@gmail.com> writes:

> From: Karthik Nayak <karthik.188@gmail.com>
>
> Implement the '--format' option provided by 'ref-filter'.
> This lets the user list tags as per desired format similar
> to the implementation in 'git for-each-ref'.
>
> Add tests and documentation for the same.

Hmm, do we want "--format" added to "tag -l" and "branch -l" in the
first place?  Scriptors should be using "for-each-ref" plumbing in
the first place, and the point of unifying these three is to share
filtering features among them, which would make "for-each-ref" able
to express what the other two can do.  I'd hesitate to add too much
flexibility to "branch -l" and "tag -l" Porcelains to entice people
to script around them.

  reply	other threads:[~2015-08-17 19:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-15 18:00 [PATCH v11 12/13] tag.c: implement '--format' option Karthik Nayak
2015-08-17 19:04 ` Junio C Hamano [this message]
2015-08-17 19:14   ` Karthik Nayak
2015-08-17 21:38     ` Jacob Keller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqwpwtd9d0.fsf@gitster.dls.corp.google.com \
    --to=gitster@pobox.com \
    --cc=Matthieu.Moy@grenoble-inp.fr \
    --cc=christian.couder@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=karthik.188@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).