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

Re: remove perl from git-commit.sh

From
Junio C Hamano <junkio@cox.net>
Date
Jul 13, 2006, 04:38 UTC
Message-ID
<7v3bd6xgnz.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<81b0412b0607120415g243f2160tf42c40e52b8bc9ac@mail.gmail.com>
"Alex Riesen" <raa.lkml@gmail.com> writes:
Show 15 quoted lines
> It is really annoying when the essentials do not work.
> I think we could improve at  least them, by minimizing
> their dependencies to external tools.
>
> ---
>
> git-commit.sh has only ohne place where perl is used
> and it can actually quite trivially be done in sh.
> git-ls-files without "-z" produces quoted output, even if
> is different from that produced by perl code it could be
> enough. Otherwise I'd better suggest to add another
> quoting style (replacing only \t, \n and backslash) than
> having to constantly patch git-commit.sh for binmode
> or perl path (Windows has no stable tool set, and perl
> for instance often resides "somewhere").
(1) Sign-off?
(2) I think the cover letter comment talks more apporpirate
    things than your proposed commit message.  The commit log is
    not a place to vent your frustration.  It's where you
    justify why that change was needed for people who will want
    to figure out why your patch broke their workflow later.

I do not think anybody parses git-status output to figure out the list of paths that are touched/untracked/etc., so I am not opposed to this change itself.

Previous: Alex RiesenNext: Alex Riesen
Message 8 of 9 in “remove perl from git-commit.sh”
  1. Alex RiesenJul 12, 2006
  2. Nikolai WeibullJul 12, 2006
  3. Alex RiesenJul 12, 2006
  4. Nikolai WeibullJul 12, 2006
  5. Alex RiesenJul 12, 2006
  6. Petr BaudisJul 12, 2006
  7. Alex RiesenJul 12, 2006
  8. Junio C HamanoJul 13, 2006
  9. Alex RiesenJul 13, 2006

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.