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

[PATCH] CodingGuidelines: remove suggestion to write commands in Perl/SH

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Apr 17, 2021, 08:43 UTC
Message-ID
<patch-1.1-83266f30b67-20210417T084346Z-avarab@gmail.com>

Remove a suggestion to write new commands in Perl or Shell to experiment. This advice was added in 6d0618a820a (Add Documentation/CodingGuidelines, 2007-11-08).

Since then the consensus changed to having no new such commands unless necessary, and existing ones have been actively migrated to C.

Signed-off-by: ��var Arnfj��r�� Bjarmason <avarab@gmail.com>
---
 Documentation/CodingGuidelines | 5 -----
 1 file changed, 5 deletions(-)
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines
index 45465bc0c98..b9cd55db6a8 100644
--- a/Documentation/CodingGuidelines
+++ b/Documentation/CodingGuidelines
@@ -416,11 +416,6 @@ For C programs:
    that are made available to it by including one of the header files
    it must include by the previous rule.
 
- - If you are planning a new command, consider writing it in shell
-   or perl first, so that changes in semantics can be easily
-   changed and discussed.  Many Git commands started out like
-   that, and a few are still scripts.
-
  - Avoid introducing a new dependency into Git. This means you
    usually should stay away from scripting languages not already
    used in the Git core command set (unless your command is clearly
-- 
2.31.1.687.g1d87aeed692
Next: Torsten Bögershausen
Message 1 of 9 in “CodingGuidelines: remove suggestion to write commands in Perl/SH”
  1. CodingGuidelines: remove suggestion to write commands in Perl/SHÆvar Arnfjörð Bjarmason, Apr 17, 2021
  2. Torsten BögershausenApr 17, 2021
  3. Bagas SanjayaApr 17, 2021
  4. Ævar Arnfjörð BjarmasonApr 17, 2021
  5. brian m. carlsonApr 17, 2021
  6. Ævar Arnfjörð BjarmasonApr 17, 2021
  7. brian m. carlsonApr 17, 2021
  8. CodingGuidelines: remove suggestion to write commands in Perl/SHÆvar Arnfjörð Bjarmason, Apr 17, 2021
  9. Junio C HamanoApr 17, 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.