threads / discuss / 39624

[GSOC] Week 2: Unification of tag -l, branch -l and for-each-ref

Subject: [GSOC] Week 2: Unification of tag -l, branch -l and for-each-ref

## tl;dr

One message between Jun 13, 2015 and Jun 13, 2015.

replies: 0people: 1as markdown or json

karthik nayak· Jun 13, 2015, 20:40 UTC · lore
Hello All,

As part of GSoC I'm working on the Unification of 'for-each-ref', 'tag -l' and 'branch -l'. I will update the list on my weekly progress in an effort to keep everyone updated.

Current Progress: Currently I have two patches for review on the mailing list.

1. [PATCH v8 0/11] Create ref-filter from for-each-ref
(http://article.gmane.org/gmane.comp.version-control.git/271563)
This is basically related to the movement of code from for-each-ref to
ref-filter. ref-filter would act as a base for tag -l and branch -l. They can
eventually use the ref-filter APIs to implement the --format and --sort options
provided by ref-filter.
2. [PATCH v2 00/11] add options to for-each-ref
(http://article.gmane.org/gmane.comp.version-control.git/271575)
This relates to the addition of options like '--points-at',
'--merged', '--no-merged'
and '--contains' options to ref-filter and making use of these options
in for-each-ref
and implementing tests for the same.

Work in progress: You can follow my current progress on Github: https://github.com/KarthikNayak/git Currently working on bringing tag.c on board and making it use the ref-filter APIs and implement the various options provided by ref-filter. This might require an option of having ref-filter sort based on version no when listing refnames.

Whats next: After getting tag.c to work with ref-filter APIs. Start porting branch -l to use ref-filter APIs too.

-- 
Regards,
Karthik Nayak

← back to recent threads