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

Re: [PATCH] Add basic test-script for git-submodule

From
Junio C Hamano <junkio@cox.net>
Date
Jun 1, 2007, 19:50 UTC
Message-ID
<7vmyzjzc76.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<op.ts8g4dsa9pspc6@localhost>
"Lars Hjemli" <hjemli@gmail.com> writes:
Show 5 quoted lines
> This test tries to verify basic sanity of git-submodule, i.e. that it is
> able to clone and update a submodule repository, that its status output is
> sane, and that it barfs when the submodule path is occupied during init.
>
> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Micronit...
> +test_expect_success 'the --cached sha1 should be rev1' '
> +	git-submodule --cached status | grep "^\+$rev1"
> +'
What's the purpose of that solitary backslash?
Previous: Lars HjemliNext: Lars Hjemli
Message 8 of 9 in “Add basic test-script for git-submodule”
  1. Add basic test-script for git-submoduleLars Hjemli, May 27, 2007
  2. Junio C HamanoMay 29, 2007
  3. Lars HjemliMay 30, 2007
  4. Junio C HamanoJun 1, 2007
  5. Lars HjemliJun 1, 2007
  6. Johannes SixtJun 1, 2007
  7. Lars HjemliJun 1, 2007
  8. Junio C HamanoJun 1, 2007
  9. Add basic test-script for git-submoduleLars Hjemli, Jun 2, 2007

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.