Skip to content

Unifying git branch -l, git tag -l, and git for-each-ref

karthik nayak git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4for-each-ref: rename refinfo members to match similar structuresbuiltin/for-each-ref.c+20 -202 replies
2/4ref-filter: add ref-filter APIMakefile ref-filter.c ref-filter.h+121 -015 replies
3/4for-each-ref: convert to ref-filterbuiltin/for-each-ref.c+20 -982 replies
4/4ref-filter: move formatting/sorting options from 'for-each-ref'builtin/for-each-ref.c ref-filter.c ref-filter.h+989 -9820 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchJeff KingChristian CouderMatthieu Moy
1/4Written-by
2/4Mentored-by Mentored-by
3/4Mentored-by Mentored-by
4/4Mentored-by Mentored-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [WIP] [PATCH 0/4] Unifying git branch -l, git tag -l, and git for-each-ref

Hello All,

Just updating on my progress for my GSoC project on "Unifying git branch- l, git tag -l and git for-each-ref."

I have been going through the code for the above commands, I started off first with 'for-each-ref' because it seemed to be the most basic command of the three, I have been building the common library 'ref-filter' based on the requirements for 'for-each-ref', eventually
I plan to merge 'tag -l' and 'branch -l' and extend its functionality.

The '--format' and '--sort' option provided by for-each-ref seemed to be the most fundamental and I plan on using this implementation and extending the option to 'tag -l' and 'branch -l'. So this left me with moving most of the code from 'for-each-ref' to 'ref-filter' and leaving 'for-each-ref' with nothing but the command call from the main git command.

This is still a WIP and hope to get some suggestions/feedback on my progress.