git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Porting builtin/branch.c to use the printing options of ref-filter.{c,h}
@ 2015-08-25 17:45 Karthik Nayak
  2015-08-25 18:50 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Karthik Nayak @ 2015-08-25 17:45 UTC (permalink / raw)
  To: Git; +Cc: Junio C Hamano, Matthieu Moy, Christian Couder

I'm working on porting over the printing options of ref-filter to `git
branch -l`.
This is a follow up to
http://article.gmane.org/gmane.comp.version-control.git/276377

Theres a slight issue with this which I'd like to discuss about.

When we use `-a` option in `git branch -l`
It lists local branches and remotes with each having a different output format.
This with reference to ref-filter would mean either

1. Change format in between local and remote refs
2. Have a format like %(if)...local check....%(then)....local branch
format....%(else)....remote format %(end).

I prefer the latter, but that might lead to a large format. Any suggestions?


-- 
Regards,
Karthik Nayak

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-26  9:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-25 17:45 [RFC] Porting builtin/branch.c to use the printing options of ref-filter.{c,h} Karthik Nayak
2015-08-25 18:50 ` Junio C Hamano
2015-08-25 20:06   ` Matthieu Moy
2015-08-25 20:47     ` Junio C Hamano
2015-08-26  6:39   ` Karthik Nayak
2015-08-26  9:02     ` Matthieu Moy

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 NNTP newsgroup(s).