git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[GSoC] My Git Dev Blog - Week 13

From
Atharva Raykar <raykar.ath@gmail.com>
Date
Aug 13, 2021, 12:48 UTC
Message-ID
<m2im09a4dl.fsf@gmail.com>
Here's the link to the blog: <https://atharvaraykar.me/gitnotes/week13>
Since it's a short one, I'll share the text here as well:

1 Week 13: Preparing for the wrap up ====================================

2 Project Progress ==================

This week's update will be relatively short, partly because I will be out of town and juggling multiple things this week, and also because I am saving up for the larger final report ;-)

This week I re-rolled my [run-update-procedure] patch. I was tempted to also send out my series that [converts the rest of submodule update] to C, but it is quite a big series, and it doesn't help that we are already at the release week for Git. I felt I should be a little more patient, and wait for `run-update-procedure` to get picked up first rather than send a storm of all these related series at once, at a time of release rush.

In other news, my attempt to making `submodule` a fully C builtin is shaping up well. Here's a brief of how the transition will work:

- We have a switch called `submodule.useBuiltin` (as well as
  `GIT_TEST_SUBMODULE_USE_BUILTIN` as an environment variable for the test
  suite) which defaults to false. When set to true, we use the builtins that are
  purely in C.
- If the switch is set to true, but the user requests a command that has not been
  converted yet, it falls back to using the old shell starting point. This
  allows us to test the newly ported builtins with the switch set to true, while
  still passing the test suite as a whole.

I expect this transition to be rather brief, because the commands are already implemented, all we need to do is manage the flag parsing. As of now [I have already ported the `submodule status` command] to a pure C builtin. I am open to taking comments on this approach, feel free to leave them on the GitHub web interface, or on the list.

------------------------------------------------------------------------
Have a great weekend!

--- Atharva Raykar ಅಥರ್ವ ರಾಯ್ಕರ್ अथर्व रायकर

[run-update-procedure] <https://lore.kernel.org/git/20210813075653.56817-1-raykar.ath@gmail.com/>
[converts the rest of submodule update] <https://github.com/tfidfwastaken/git/tree/submodule-update-list-1>

[I have already ported the `submodule status` command] <https://github.com/tfidfwastaken/git/commits/submodule-make-builtin-2>

Next: Christian Couder
Message 1 of 2 in “[GSoC] My Git Dev Blog - Week 13”
  1. Atharva RaykarAug 13, 2021
  2. Christian CouderAug 14, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.