{"thread":{"id":"48068","subject":"[GSoC] Scripts to be conversted into builtins","startedAt":"2018-03-17T18:13:44Z","lastAt":"2018-03-19T17:28:15Z","messageCount":4,"participants":["Yash Yadav","Ævar Arnfjörð Bjarmason","Christian Couder","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"342039","messageId":"67e865ac-3303-eda6-e14b-f56607d64908@gmail.com","threadId":"48068","inReplyTo":null,"subject":"[GSoC] Scripts to be conversted into builtins","fromName":"Yash Yadav","fromEmail":"yashdimpu@gmail.com","sentAt":"2018-03-17T12:44:11Z","receivedAt":"2018-03-17T18:13:44Z","isPatch":false,"sender":{"key":"yashdimpu@gmail.com","avatar":null},"body":"Hello,\n\nI am a student going through the GSoC process.\n\nIn the project ideas listed there is one idea talking of conversion of \nscripts to builtins. This interests me but no pointer forward is given \nand I'd like to dive more into that idea and go through the script(s).\n\nSo, where should I look further from here?\n\n\nThanks,\n\nYash Yadav\n\n"},{"id":"342040","messageId":"87r2oid0df.fsf@evledraar.gmail.com","threadId":"48068","inReplyTo":"67e865ac-3303-eda6-e14b-f56607d64908@gmail.com","subject":"Re: [GSoC] Scripts to be conversted into builtins","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2018-03-17T18:26:36Z","receivedAt":"2018-03-17T18:26:45Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"\nOn Sat, Mar 17 2018, Yash Yadav jotted:\n\n> Hello,\n>\n> I am a student going through the GSoC process.\n>\n> In the project ideas listed there is one idea talking of conversion of\n> scripts to builtins. This interests me but no pointer forward is given\n> and I'd like to dive more into that idea and go through the script(s).\n>\n> So, where should I look further from here?\n\nOne good place to start is to start reading at:\n\n    git log -p --stat --full-diff --reverse 74703a1e4d.. -- 'builtin/*--helper.c'\n\nAnd then search for git-.*\\.sh in your pager. These are a bunch of\ncommits where the bisect, rebase and submodule helpers have had their\nshellscript code incrementally replaced by C.\n"},{"id":"342049","messageId":"CAP8UFD0QMqUDmBSYT1_-BcUcfCFfxTef8PAddHzcDv+a0W+44Q@mail.gmail.com","threadId":"48068","inReplyTo":"87r2oid0df.fsf@evledraar.gmail.com","subject":"Re: [GSoC] Scripts to be conversted into builtins","fromName":"Christian Couder","fromEmail":"christian.couder@gmail.com","sentAt":"2018-03-17T20:51:06Z","receivedAt":"2018-03-17T20:51:12Z","isPatch":false,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"On Sat, Mar 17, 2018 at 7:26 PM, Ævar Arnfjörð Bjarmason\n<avarab@gmail.com> wrote:\n>\n> On Sat, Mar 17 2018, Yash Yadav jotted:\n>\n>> Hello,\n>>\n>> I am a student going through the GSoC process.\n>>\n>> In the project ideas listed there is one idea talking of conversion of\n>> scripts to builtins. This interests me but no pointer forward is given\n>> and I'd like to dive more into that idea and go through the script(s).\n>>\n>> So, where should I look further from here?\n>\n> One good place to start is to start reading at:\n>\n>     git log -p --stat --full-diff --reverse 74703a1e4d.. -- 'builtin/*--helper.c'\n>\n> And then search for git-.*\\.sh in your pager. These are a bunch of\n> commits where the bisect, rebase and submodule helpers have had their\n> shellscript code incrementally replaced by C.\n\nYeah, and we have been proposing this kind of GSoC projects for a\nnumber of years now, so we have had a number of GSoC students doing\nthis kind of projects, and therefore a lot of information about their\nprojects is available in the mailing list archive.\n"},{"id":"342211","messageId":"nycvar.QRO.7.76.6.1803191814110.55@ZVAVAG-6OXH6DA.rhebcr.pbec.zvpebfbsg.pbz","threadId":"48068","inReplyTo":"67e865ac-3303-eda6-e14b-f56607d64908@gmail.com","subject":"Re: [GSoC] Scripts to be conversted into builtins","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2018-03-19T17:27:48Z","receivedAt":"2018-03-19T17:28:15Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sat, 17 Mar 2018, Yash Yadav wrote:\n\n> In the project ideas listed there is one idea talking of conversion of\n> scripts to builtins. This interests me but no pointer forward is given\n> and I'd like to dive more into that idea and go through the script(s).\n> \n> So, where should I look further from here?\n\nOne concrete example how a script was converted can be seen here:\n\nhttps://github.com/git/git/compare/b7786bb4b09%5E...b7786bb4b09%5E2\n\n(This is the patch series that replaced the scripted version of the\n`difftool` by the one written in portable C.)\n\nBut maybe you want to look at the micro-projects first, to see how you\nlike to work on Git's source code, and with the Git mailing list?\n\nCiao,\nJohannes\n"}]}