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

Re: [BUG?] git-cvsimport: path to cvspsfile

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Sep 24, 2009, 05:59 UTC
Message-ID
<4ABB0ACF.5040508@viscovery.net>
In-Reply-To
<20090923191428.GA30104@coredump.intra.peff.net>
Jeff King schrieb:
Show 6 quoted lines
> Bug. The script does a chdir() and then looks at the cvspsfile later. I
> think "-A" would have the same problem. Here is a totally untested patch
> to address the issue. Johannes, will this is_absolute_path actually work
> on Windows? I think The Right Way would be to use
> File::Spec::file_name_is_absolute, but I haven't checked whether that is
> part of core perl and if so, which version it appeared in.

We have File::Spec::file_name_is_absolute in the msysgit installation. I suggest you use it. It sounds like a very basic feature, and I'd be surprised if it were not part of core perl.

-- Hannes
Previous: Jeff KingNext: Jeff King
Message 3 of 4 in “[BUG?] git-cvsimport: path to cvspsfile”
  1. Kacper KornetSep 23, 2009
  2. Jeff KingSep 23, 2009
  3. Johannes SixtSep 24, 2009
  4. Jeff KingSep 24, 2009

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.