Git development
 help / color / mirror / Atom feed
From: Luciano Rocha <luciano@eurotux.com>
To: "Craig L. Ching" <cching@mqsoftware.com>
Cc: git@vger.kernel.org
Subject: Re: Git-new-workdir
Date: Wed, 21 May 2008 19:44:46 +0100	[thread overview]
Message-ID: <20080521184446.GA23924@bit.office.eurotux.com> (raw)
In-Reply-To: <63BEA5E623E09F4D92233FB12A9F794301FC8B1D@emailmn.mqsoftware.com>

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

On Wed, May 21, 2008 at 01:21:22PM -0500, Craig L. Ching wrote:
> Hi all,
> 
> I'm a bit of a newbie to Git, but I have started using it in earnest for
> the past couple of months.  I had asked on IRC about a potential problem
> I saw with git and how it fit into our workflow.  We currently use CVS
> and have used it for the past ten years.  A lot of us have grown
> accustomed to keeping multiple builds around for different things, e.g.
> defects we're working on, new features, etc., we do a lot of task
> switching and very rarely can we work on something start to finish
> without being interrupted with something else.  The normal workflow of
> git seems to cut across that need to keep many builds around.
> Generally, building our software is not trivial and takes a fair amount
> of time, so just "git checkout" out a new branch and rebuilding is not
> really an option for us.  I jumped on IRC while back and the contrib
> git-new-workdir was sugggested, but with the caveat that I should try
> and think outside the box before I adopted git-new-workdir.  So, I come
> here, after using Git for a couple of months and not seeing a way around
> this, asking if I'm missing something?  Should I be using
> git-new-workdir?  Or is there a better way that I have yet to see?  I'm
> sure the kernel developers must have this need as well, so it's quite
> possible I'm missing something.  I appreciate all feedback!

Personally, I'd clone a local rep for each build, with the -s option to
clone.

Something like:

git clone server:/rep ~/master
git clone -s ~/master build/abc
git clone -s ~/master build/foo
...

The -s option should reduce disk-usage considerably.

-- 
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-05-21 18:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-21 18:21 Git-new-workdir Craig L. Ching
2008-05-21 18:44 ` Luciano Rocha [this message]
2008-05-21 18:57   ` Git-new-workdir Craig L. Ching
2008-05-21 19:25   ` Git-new-workdir Brandon Casey
2008-05-21 19:30     ` Git-new-workdir Craig L. Ching
2008-05-21 19:43       ` Git-new-workdir Brandon Casey
     [not found] ` <9af502e50805211153ya79f73y60d4975d46ef8edd@mail.gmail.com>
2008-05-21 19:07   ` Git-new-workdir Craig L. Ching

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=20080521184446.GA23924@bit.office.eurotux.com \
    --to=luciano@eurotux.com \
    --cc=cching@mqsoftware.com \
    --cc=git@vger.kernel.org \
    /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