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

Re: [GSoC][PATCH] doc: fix doubled words in gitdiffcore documentation

From
Siddharth Shrimali <r.siddharth.shrimali@gmail.com>
Date
Mar 28, 2026, 06:23 UTC
Message-ID
<CAGWgyh9a7sfEXcd5B7tv6DzZ6Ma_=+zOK9w1vkwq81P4MRM9LA@mail.gmail.com>
Hello Noman,
Show 5 quoted lines
> Hello Git community,
> I am Naorem Ngathoiba Singh, a GSoC 2026 applicant interested in the
> 'Improve the new git repo command' project. As my microproject, I have
> identified and fixed some doubled words in the documentation. Below is
> my patch.
Thank you for your patch and your interest in GSoC 2026
> -and the contents of the deleted file fileX is similar enough to
> +and the contents of the deleted file X is similar enough to
> -these filepairs, that talk about a modified file fileY and a newly
> +these filepairs, that talk about a modified file Y and a newly

I believe these changes are incorrect because the current wording appears to be intentional. In the context of gitdiffcore.adoc, "fileX" and "fileY" are used as specific variable identifiers for the files being discussed in the diff examples.

In this instance, "file" is the noun and "fileX" is the name of that file in the example (similar to how one says "the variable varX"). Changing "fileX" to "X" actually changes the identifier, which might make the documentation harder to follow for a reader trying to track which file is which.

Since "fileX" and "fileY" are used consistently as placeholders in this document, I would suggest leaving them as they are.

Regards, Siddharth Shrimali r.siddharth.shrimali@gmail.com

Message 1 of 1 in “Re: [GSoC][PATCH] doc: fix doubled words in gitdiffcore documentation”
  1. Siddharth ShrimaliMar 28, 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.