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

[GSOC] Discuss and Introduction: Improve disk space recovery for partial clones

From
Amisha Chhajed <amishhhaaaa@gmail.com>
Date
Feb 25, 2026, 06:17 UTC
Message-ID
<CAPvEtrfYtEvsxbsD2Q378R3e84DwHPPCSgaa1pQugrwchj9h8g@mail.gmail.com>

Hello everyone! I am Amisha, I have made some contributions to Git highlighted below,

https://lore.kernel.org/git/20260121130005.72375-1-amishhhaaaa@gmail.com/

sparse-checkout: optimize string_list construction and add tests to verify deduplication. Improve O(n^2) complexity to O(n log n) while building a sorted 'string_list' by constructing it unsorted then sorting it followed by removing duplicates.

https://lore.kernel.org/git/20260129121220.69267-1-amishhhaaaa@gmail.com/

u-string-list: add unit tests for string-list methods string-list: add string_list_sort_u() that mimics "sort -u"

[WIP] https://lore.kernel.org/git/20260221162359.43336-2-amishhhaaaa@gmail.com/
My time while contributing to this project has been very rewarding and amazing!

I am aspiring to apply for project 'Improve disk space recovery for partial clones', I am aware of sparse-checkout and surrounding code while working on my first patch, hence i believe if we are in cone mode we can easily free up the space in partial clone for files outside of cone mode whenever user runs cleanup command, however figuring out what to free in non cone mode is a fairly new topic for me, i would love to have discussions surrounding this, i believe a lot inspiration about what we can clean can be derived from git gc and git maintenance.

I would love to hear opinions and ideas on this!
-- 
Thanks,
Amisha
Next: Derrick Stolee
Message 1 of 3 in “[GSOC] Discuss and Introduction: Improve disk space recovery for partial clones”
  1. Amisha ChhajedFeb 25, 2026
  2. Derrick StoleeFeb 25, 2026
  3. Amisha ChhajedMar 1, 2026

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.