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

Re: [PATCH] git-checkout: Test for relative path use.

From
David Symonds <dsymonds@gmail.com>
Date
Nov 9, 2007, 01:44 UTC
Message-ID
<ee77f5c20711081744p5d7b46fo88a582b9f5dbdab8@mail.gmail.com>
In-Reply-To
<7vtznwxl59.fsf@gitster.siamese.dyndns.org>
On Nov 9, 2007 12:28 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 18 quoted lines
> David Symonds <dsymonds@gmail.com> writes:
>
> > Signed-off-by: David Symonds <dsymonds@gmail.com>
> > ---
> >       Test 5 in this series fails because of a bug in git-ls-files, where
> >               git-ls-files t/../
> >       (with or without --full-name) returns no files.
>
> Heh, you shouldn't do that ;-)
>
> Seriously, that's a long standing limitation in the code, not to
> deal with arbitrary combination of ups and downs, but I do not
> think there is any fundamental reason to disallow something
> like:
>
>         cd Documentation && git ls-files --full-name ../t
>
> Patches welcome.

So you're otherwise happy with my tests, despite one of them triggering an (unrelated to git-checkout) bug? Or would you prefer I remove that particular failure from the tests and resend?

Dave.
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 15 in “git-checkout: Support relative paths containing "..".”
  1. git-checkout: Support relative paths containing "..".David Symonds, Nov 9, 2007
  2. git-checkout: Test for relative path use.David Symonds, Nov 9, 2007
  3. Junio C HamanoNov 9, 2007
  4. David SymondsNov 9, 2007
  5. Junio C HamanoNov 9, 2007
  6. David SymondsNov 9, 2007
  7. Robin RosenbergNov 9, 2007
  8. Johannes SixtNov 9, 2007
  9. David SymondsNov 9, 2007
  10. git-checkout: Test for relative path use.David Symonds, Nov 9, 2007
  11. Junio C HamanoNov 9, 2007
  12. David SymondsNov 9, 2007
  13. Junio C HamanoNov 9, 2007
  14. David SymondsNov 9, 2007
  15. git-checkout: Test for relative path use.David Symonds, Nov 9, 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.