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

Re: [PATCH v2] git-p4: fix faulty paths for case insensitive systems

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 20, 2015, 15:55 UTC
Message-ID
<xmqq37ze7y4o.fsf@gitster.dls.corp.google.com>
In-Reply-To
<917E3751-4BC8-4034-9101-30C77426D81C@gmail.com>
Lars Schneider <larsxschneider@gmail.com> writes:
Show 5 quoted lines
>>> +		find . | grep TWO/file1.txt &&
>>> +		find . | grep TWO/File2.txt &&
>>> +		find . | grep TWO/file3.txt &&
>> Not sure about the find | grep here either.
> See answers above.

These are not very good tests; they will match "OTWO/file1.txto", too. Besides, it is wasteful to run find three times.

        find ?* -print | sort >actual &&
        cat >expect <<-\EOF &&
        TWO/file1.txt
        ...
        EOF
	test_cmp expect actual
or something like that instead?
Previous: Eric SunshineNext: Lars Schneider
Message 6 of 9 in “git-p4: fix faulty paths for case insensitive systems”
  1. git-p4: fix faulty paths for case insensitive systemslarsxschneider@gmail.com, Aug 19, 2015
  2. git-p4: fix faulty paths for case insensitive systemslarsxschneider@gmail.com, Aug 19, 2015
  3. Torsten BögershausenAug 20, 2015
  4. Lars SchneiderAug 20, 2015
  5. Eric SunshineAug 20, 2015
  6. Junio C HamanoAug 20, 2015
  7. Lars SchneiderAug 21, 2015
  8. Eric SunshineAug 21, 2015
  9. Torsten BögershausenAug 20, 2015

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.