{"thread":{"id":"40157","subject":"GSOC: Unify the commands `git tag -l`, `git brach -l` and `git for-each-ref`","startedAt":"2015-08-22T07:45:52Z","lastAt":"2015-08-22T07:45:52Z","messageCount":1,"participants":["Karthik Nayak"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"268507","messageId":"CAOLa=ZRS-f0tOo+EC0_Su8aZ8cz9pratmg4vjkG+DC8gAeYAJw@mail.gmail.com","threadId":"40157","inReplyTo":null,"subject":"GSOC: Unify the commands `git tag -l`, `git brach -l` and `git for-each-ref`","fromName":"Karthik Nayak","fromEmail":"karthik.188@gmail.com","sentAt":"2015-08-22T07:45:52Z","receivedAt":"2015-08-22T07:45:52Z","isPatch":false,"sender":{"key":"karthik.188@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1786334?v=4"},"body":"Hello All,\n\nAs part of GSoC I'm working on the Unification of 'for-each-ref', 'tag -l'\nand 'branch -l'.\n\nCurrent Progress:\n\n1. Building ref-filter.{c,h} from for-each-ref.\nThis is the process of creating an initial library for the unification\nby moving most of the code from for-each-ref to ref-filter.{c,h}.\nMerged into next\n\n2. Add options to ref-filter.\nThis includes the porting of --points-at, --contains, --merged,\n--no-merged options from builtin/branch.c and builtin/tag.c, Also the\nimplementation of these options into for-each-ref.\nMerged to next\n\n3. Port builtin/tag.c to use ref-filter.\nHere we port tag.c to use ref-filter and also port the --format,\n--sort and --merged and --no-merged options to builtin/tag.c.\nVersion 13 can be found here:\n* http://thread.gmane.org/gmane.comp.version-control.git/276363\nThere was a lot of discussion on v12 (especially how %(align)...%(end) should be\nhandling '--quote') which can be found here:\n* http://thread.gmane.org/gmane.comp.version-control.git/276133\n\n4. Port builtin/branch.c to use ref-filter filtering APIs.\nHere we make use of the filtering APIs provided by ref-filter to filter out\nbranches. Also make it learn the '--points-at' command.\nversion 3 can be found here:\n* http://thread.gmane.org/gmane.comp.version-control.git/276377\n\nAs my mentors suggested, I'm working on the printing aspects of branch.c now.\nThis involves supporting %(if)....%(then)....%(else)....%(end). and\nmaking branch.c\nuse show_ref_array_item() rather than using its own implementation.\n\nAs the ground has been laid for %(align)....%(end) atom, the work shouldn't be\nof much difficulty.\n\nWill push most of my work to github: github.com/KarthikNayak/git\n\n-- \nRegards,\nKarthik Nayak\n"}]}