Git development
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: skimo@liacs.nl
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: cvs2git and file permissions
Date: Sat, 18 Jun 2005 14:23:48 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0506181421070.2268@ppc970.osdl.org> (raw)
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

  reply	other threads:[~2005-06-18 21:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-18 20:52 cvs2git and file permissions Sven Verdoolaege
2005-06-18 21:23 ` Linus Torvalds [this message]
2005-06-18 22:31   ` Sven Verdoolaege

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0506181421070.2268@ppc970.osdl.org \
    --to=torvalds@osdl.org \
    --cc=git@vger.kernel.org \
    --cc=skimo@liacs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox