git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-import.sh using git-fast-import
@ 2007-08-27 16:13 Nguyen Thai Ngoc Duy
  2007-08-27 17:44 ` Johannes Gilger
       [not found] ` <20070828035430.GJ18160@spearce.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Nguyen Thai Ngoc Duy @ 2007-08-27 16:13 UTC (permalink / raw)
  To: Git Mailing List

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

It is not really good. It does not run as fast as git-add &&
git-commit. But it can swallow big directories that git-add &&
git-commit can't. So I think I would share. It's also simpler than
those in contrib/fast-import, making it a good start for
git-fast-import's new users.

To run it, move inside the directory you want to import then type
./git-import.sh master 'your import message'
-- 
Duy

[-- Attachment #2: git-import.sh --]
[-- Type: application/x-sh, Size: 538 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-import.sh using git-fast-import
  2007-08-27 16:13 git-import.sh using git-fast-import Nguyen Thai Ngoc Duy
@ 2007-08-27 17:44 ` Johannes Gilger
       [not found] ` <20070828035430.GJ18160@spearce.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Johannes Gilger @ 2007-08-27 17:44 UTC (permalink / raw)
  To: Git Mailing List

Hi,

nice of you to share, but i think the policy on this mailing list is to
include patches (and probably shellscripts like your's) in the message
itself rather than create a file attachment. I for one find it much more
convenient.

regards, jojo

Nguyen Thai Ngoc Duy wrote:
> It is not really good. It does not run as fast as git-add &&
> git-commit. But it can swallow big directories that git-add &&
> git-commit can't. So I think I would share. It's also simpler than
> those in contrib/fast-import, making it a good start for
> git-fast-import's new users.
>
> To run it, move inside the directory you want to import then type
> ./git-import.sh master 'your import message'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-import.sh using git-fast-import
       [not found]           ` <20070829041120.GA25779@coredump.intra.peff.net>
@ 2007-08-29 15:20             ` Nicolas Pitre
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Pitre @ 2007-08-29 15:20 UTC (permalink / raw)
  To: Jeff King; +Cc: Shawn O. Pearce, Nguyen Thai Ngoc Duy, Git Mailing List

On Wed, 29 Aug 2007, Jeff King wrote:

> On Tue, Aug 28, 2007 at 11:47:25PM -0400, Shawn O. Pearce wrote:
> 
> > Yea, so like the parallel pack-objects experiment that Nico had
> > done recently we decreased wall-clock time at the expense of using a
> > larger amount of the system resources.  That is bad as we use more
> > CPU time than we saved in wallclock time.  Usually a bad tradeoff,
> > unless you have a realtime requirement you have to meet.
> 
> It depends. If we all have 64-core processors in a few years, then it
> might be a better tradeoff.

Depends.  In the experiment I did, I clearly identified flaws showing 
that the direction was bad and that another approach has to be pursued.  
Thinking in terms of 64-core processors is no excuse for bad designs.

> Of course, some users might want to optimize
> for wall-clock time, while others want power consumption, etc.

Better get both at the same time when possible.


Nicolas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-29 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-27 16:13 git-import.sh using git-fast-import Nguyen Thai Ngoc Duy
2007-08-27 17:44 ` Johannes Gilger
     [not found] ` <20070828035430.GJ18160@spearce.org>
     [not found]   ` <20070828055431.GA28311@coredump.intra.peff.net>
     [not found]     ` <20070828061118.GO18160@spearce.org>
     [not found]       ` <20070828063316.GB5444@coredump.intra.peff.net>
     [not found]         ` <20070829034725.GR18160@spearce.org>
     [not found]           ` <20070829041120.GA25779@coredump.intra.peff.net>
2007-08-29 15:20             ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).