Re: Incremental cvsimports
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:27
Jeff King [off-list ref] 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 ;-).
quoted hunk
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";