From: Linus Torvalds Date: Sat, 18 Jun 2005 21:23:48 GMT Subject: Re: cvs2git and file permissions Message-ID: In-Reply-To: <20050618205208.GA4917@billie.cs.kuleuven.ac.be> On Sat, 18 Jun 2005, Sven Verdoolaege wrote: > > Let cvs checkout in a temporary directory rather than > using the pipe option to avoid loss of mode information. Hmm.. Why do you use the "-N" flag? Wouldn't it be much cleaner to _not_ create all those sub-directories under ".git-tmp", and instead do something like "cvs -q -d %s checkout -d .git-tmp -r%s '%s/%s'" ... "mv -f .git-tmp/%s %s\n", dir ? dir+1 : name, name With that changed (and tested ;), I'll happily take it. Linus