Re: Git in Outreachy?
From: ZheNing Hu <hidden>
Date: 2021-09-22 14:59:11
Christian Couder [off-list ref] 于2021年9月21日周二 下午11:35写道:
On Tue, Sep 21, 2021 at 7:39 AM ZheNing Hu [off-list ref] wrote:quoted
Christian Couder [off-list ref] 于2021年9月20日周一 下午10:52写道:quoted
On Mon, Sep 20, 2021 at 9:45 AM ZheNing Hu [off-list ref] wrote:quoted
quoted
quoted
I haven't thought of any good projects for the time being, Christian, any ideas?I already suggested the following project upthread:quoted
quoted
About project ideas, maybe continuing Hariom Verma's GSoC 2020 "Unify ref-filter formats with other \-\-pretty formats" project could be and idea, though maybe it could interact too much with ZheNing Hu continuing his GSoC 2021 "Use ref-filter formats in `git cat-file`" project.and you replied:quoted
If the project idea is related to Hariom or my GSoC project, I think I can provide a lot of help. :) I can help them as a mentor.so I am ok to co-mentor this project with you. If you are still ok, I will submit it.Yeah, I am ok. grateful.I submitted it. You should see it and be able to register as a co-mentor there: https://www.outreachy.org/communities/cfp/git/
Yes, I saw it. Thanks!
quoted
I am still looking at the code in ref-filter.c these two days, I deeply doubt whether we can add a --no-sort option to git for-each-ref, Inspired by Peff's experimental patches [1], I think the --no-sort option may improve the performance of ref-filter by avoiding the execution of ref_array_sort(). I don't know if this can be regarded as a micro-project.If you think that such a patch is likely to be accepted and that would take you less than a few hours to prepare and submit, then it can probably be regarded as a micro-project, and you are welcome to send a pull request to add it to the micro-project page.
Eh, It may not be simple, I can try to solve it by myself first, but I think it is appropriate for novices to complete this mini-project to understand the technical details of ref-filter.
quoted
This may require the help of this patch of mine: [2] which use list api for ref_sorting. This may can help eliminate unnecessary sorting. [1] https://lore.kernel.org/git/YTTC2IUO1ZmTOEoR@coredump.intra.peff.net/ (local) [2] https://lore.kernel.org/git/pull.1025.git.1629882532.gitgitgadget@gmail.com/ (local)Then please add this information to the description of the micro-project.
ok!
Thanks!
Thanks. -- ZheNing Hu