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

Re: Incremental cvsimports

From
Junio C Hamano <junkio@cox.net>
Date
May 24, 2006, 17:05 UTC
Message-ID
<7virnv8ib0.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060524135828.GA23934@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Odd. It's either a bug with importing tags in older versions, or there's
> some deep perl voodoo that I don't understand (either way, it is "fixed"
> in more recent versions).  Importing ENOENT directly is reasonable.

Sounds good. Thanks for the back-and-forth helping others in the community. I appreciate it.

> Junio, can you apply the following fix?

Will do, but I would have preferred if you did the commit log message and the stuff properly. Less work for me ;-).

Show 14 quoted lines
>
> diff --git a/git-cvsimport.perl b/git-cvsimport.perl
> index af331d9..76f6246 100755
> --- a/git-cvsimport.perl
> +++ b/git-cvsimport.perl
> @@ -23,7 +23,7 @@ use File::Basename qw(basename dirname);
>  use Time::Local;
>  use IO::Socket;
>  use IO::Pipe;
> -use POSIX qw(strftime dup2 :errno_h);
> +use POSIX qw(strftime dup2 ENOENT);
>  use IPC::Open2;
>  
>  $SIG{'PIPE'}="IGNORE";
Previous: Jeff King
Message 10 of 10 in “Incremental cvsimports”
  1. Geoff RussellMay 24, 2006
  2. Martin LanghoffMay 24, 2006
  3. Martin LanghoffMay 24, 2006
  4. Geoff RussellMay 24, 2006
  5. Jeff KingMay 24, 2006
  6. Geoff RussellMay 24, 2006
  7. Jeff KingMay 24, 2006
  8. Geoff RussellMay 24, 2006
  9. Jeff KingMay 24, 2006
  10. Junio C HamanoMay 24, 2006

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.