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

Re: [PATCH] t: use LF variable defined in the test harness

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 5, 2019, 19:34 UTC
Message-ID
<xmqqmufipmfp.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190905184716.GA12647@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
> On Thu, Sep 05, 2019 at 11:17:57AM -0700, Junio C Hamano wrote:
>
>> Somebody may want to go clean-up the use of various $sq and $SQ
>> locally defined by giving a unified $SQ in test-lib.sh, by the way.
>
> Maybe good #leftoverbits material, since we may have Outreachy
> applications coming up soon.
OK, then I'd refrain from doing it as a lunchtime hack myself ;-)
 * Find sq=, $sq and ${sq} case insensitively in t/.  If there is
   any use of $SQ that does not want a single quote in it, abort
   the whole thing.  Otherwise proceed.
 * Introduce an assignment SQ=\' in t/test-lib.sh, next to where LF
   is assigned to.  Replace all uses you found in #1 with reference
   to $SQ.
#leftoverbits.
Previous: Jeff KingNext: Denton Liu
Message 5 of 10 in “t: use LF variable defined in the test harness”
  1. t: use LF variable defined in the test harnessJunio C Hamano, Sep 3, 2019
  2. Taylor BlauSep 4, 2019
  3. Junio C HamanoSep 5, 2019
  4. Jeff KingSep 5, 2019
  5. Junio C HamanoSep 5, 2019
  6. t: use common $SQ variableDenton Liu, Sep 5, 2019
  7. Taylor BlauSep 5, 2019
  8. Taylor BlauSep 5, 2019
  9. Denton LiuSep 6, 2019
  10. Taylor BlauSep 5, 2019

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.