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

Re: [PATCH 1/4] convert: Safer handling of $Id$ contraction.

From
Bert Wesarg <bert.wesarg@googlemail.com>
Date
Mar 15, 2010, 15:39 UTC
Message-ID
<36ca99e91003150839r3b159befr9086fa47eec61a8d@mail.gmail.com>
In-Reply-To
<be7e603837d8f55461c4d654fb07bd61c97b70e6.1268664693.git.grubba@grubba.org>
2010/3/15 Henrik Grubbström (Grubba) <grubba@grubba.org>:
Show 9 quoted lines
> diff --git a/t/t0021-conversion.sh b/t/t0021-conversion.sh
> index 6cb8d60..a21a8d2 100755
> --- a/t/t0021-conversion.sh
> +++ b/t/t0021-conversion.sh
> @@ -65,17 +65,21 @@ test_expect_success expanded_in_repo '
>                echo "\$Id:NoSpaceAtFront \$"
>                echo "\$Id:NoSpaceAtEitherEnd\$"
>                echo "\$Id: NoTerminatingSymbol"
> +               echo "\$Id: Foreign Commit With Spaces $"
Missing \ for second $.
Show 19 quoted lines
> +               echo "\$Id: NoTerminatingSymbolAtEOF"
>        } > expanded-keywords &&
>
>        {
>                echo "File with expanded keywords"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> -               echo "\$Id: 4f21723e7b15065df7de95bd46c8ba6fb1818f4c \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 \$"
>                echo "\$Id: NoTerminatingSymbol"
> +               echo "\$Id: fd0478f5f1486f3d5177d4c3f6eb2765e8fc56b9 $"
Ditto.
> +               echo "\$Id: NoTerminatingSymbolAtEOF"
>        } > expected-output &&
>
>        git add expanded-keywords &&
Previous: Henrik GrubbströmNext: Henrik Grubbström
Message 8 of 10 in “ident attribute related patches (resend w/ testsuite)”
  1. 0/4 ident attribute related patches (resend w/ testsuite)Henrik Grubbström (Grubba), Mar 15, 2010
  2. 1/4 convert: Safer handling of $Id$ contraction.Henrik Grubbström (Grubba), Mar 15, 2010
  3. 2/4 convert: Keep foreign $Id$ on checkout.Henrik Grubbström (Grubba), Mar 15, 2010
  4. 3/4 convert: Inhibit contraction of foreign $Id$ during stats.Henrik Grubbström (Grubba), Mar 15, 2010
  5. 4/4 convert: Added core.refilteronadd feature.Henrik Grubbström (Grubba), Mar 15, 2010
  6. Bert WesargMar 15, 2010
  7. Henrik GrubbströmMar 15, 2010
  8. Bert WesargMar 15, 2010
  9. Henrik GrubbströmMar 15, 2010
  10. René ScharfeMar 15, 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.