{"thread":{"id":"66813","subject":"[GSoC] pack-objects: plural-aware thread message","startedAt":"2026-11-09T15:07:57Z","lastAt":"2026-11-09T15:07:57Z","messageCount":1,"participants":["Manoj"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"557948","messageId":"CAOVdN544jyuLG7XNE8jTBeA90iSBS_NanW-Cfn3XgOqTFgQJEg@mail.gmail.com","threadId":"66813","inReplyTo":null,"subject":"[GSoC] pack-objects: plural-aware thread message","fromName":"Manoj","fromEmail":"manojkumar148700@gmail.com","sentAt":"2026-11-09T15:07:57Z","receivedAt":"2026-11-09T15:07:57Z","isPatch":false,"sender":{"key":"manojkumar148700@gmail.com","avatar":null},"body":"Hi,\n\nI'm Manoj, a third-year CSE student interested in contributing\nto Git for GSoC 2027. I've had a few open-source contributions\nmerged, including uutils/coreutils#15558,\nkaelzhang/node-ignore#175 and bitranox/igittigitt#48.\nThis is my first mail to the Git mailing list.\n\nWhile looking for a possible microproject, I noticed that\n\"Delta compression using up to %d threads\" in\nbuiltin/pack-objects.c uses _(), whereas the path-based\ndelta compression message in the same file uses Q_().\n\nI tested this with --progress --threads=2 and\n--progress --threads=1. The message appears with two threads\nbut not with one. I also found that ll_find_deltas() returns\nearly when delta_search_threads <= 1, before reaching\nthe message.\n\nThe path-based message has the same early return, so its\nsingular form cannot be reached either, but it still uses\nQ_(). This made me wonder whether the first message should\nfollow the same approach.\n\nI understand that Q_() provides plural-aware translation\nbased on the count. I'm not entirely sure how much practical\ndifference this makes for existing translations, though.\n\nThis wouldn't change English output or runtime behaviour.\nThe original message was made translatable using _() in\n2018, while the path-based message was introduced with\nQ_() in 2025. I also understand that changing the\ntranslation string would cause existing translations to\nneed review.\n\nI checked current master at fb255012ac. On 9 November,\nI fetched origin/master, origin/seen and origin/next and\ngrepped builtin/pack-objects.c for \"Delta compression\".\nAll three still contain the original message, and I found\nno other in-flight change touching it. I also searched\nLore for existing discussions and patches concerning it.\n\nWould this be a reasonable microproject to work on, or is\nit already being considered? I'd appreciate any suggestions\nbefore I start working on the patch.\n\nSorry if this has already been discussed or isn't worth\nthe maintainers' time.\n\nThanks,\nManoj\n\n"}]}