[RFC/PATCH] Port branch.c to use ref-filter APIs
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Jul 28, 2015, 06:55 UTC
- Message-ID
- <CAOLa=ZT3_DMJWFN62cbF19uxYBFsE69dGaFR=af1HPKsQ42otg@mail.gmail.com>
This is part of my GSoC project to unify git tag -l, git branch -l, git for-each-ref. This patch series is continued from: Gmane (v6) http://article.gmane.org/gmane.comp.version-control.git/274726
This is a RFC version and I'm sending to ensure that I'm on the right path.
This version also doesn't use the printing options provided by branch.c. I wanted to discuss how exactly to go about that, because in branch.c, we might need to change the --format based on attributes such as abbrev, verbose and so on. But ref-filter expects us to verify the format before filtering.
Any tips or suggestions are welcome, thanks all :)
-- Regards, Karthik Nayak