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

Re: [PATCH v2] git-rebase--interactive.sh: replace cut with ${v%% *}

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 17, 2010, 21:57 UTC
Message-ID
<7v8w302fu1.fsf@alter.siamese.dyndns.org>
In-Reply-To
<0eafa42f1da5f66465a1eb9da170416363cf72e0.1284759770.git.chris_johnsen@pobox.com>
Chris Johnsen <chris_johnsen@pobox.com> writes:
> It seems like the other uses of cut in git-rebase--interactive.sh
> would be more awkward if they were replaced with equivalent
> processing done in-shell with parameter expansions...

More importantly, they are fed output from rev-list and do not have breakage you observed on your Mac OS box, do they?

IOW, I don't see anything that needs fixing in other uses.
In any case, thanks for the fix.
Previous: Chris JohnsenNext: Chris Johnsen
Message 6 of 7 in “git-rebase--interactive.sh: LF terminate line sent to cut”
  1. git-rebase--interactive.sh: LF terminate line sent to cutChris Johnsen, Sep 17, 2010
  2. Brandon CaseySep 17, 2010
  3. Junio C HamanoSep 17, 2010
  4. Brandon CaseySep 17, 2010
  5. git-rebase--interactive.sh: replace cut with ${v%% *}Chris Johnsen, Sep 17, 2010
  6. Junio C HamanoSep 17, 2010
  7. Chris JohnsenSep 18, 2010

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.