All of lore.kernel.org
 help / color / mirror / Atom feed
From: kurt_p_lloyd <kplloyd@alcatel-lucent.com>
To: git@vger.kernel.org
Cc: Keith Duthie <keith@no.net.nz>,
	Junio C Hamano <gitster@pobox.com>,
	Kevin Green <Kevin.T.Green@morganstanley.com>
Subject: Re: pull/merge --no-commit
Date: Thu, 07 Jun 2007 16:32:35 -0400	[thread overview]
Message-ID: <46686B63.6080808@alcatel-lucent.com> (raw)
In-Reply-To: <alpine.DEB.0.99.0706080658070.6319@sleipnir.no.net.nz>

Many thanks to Junio, Kevin, and Keith for the helpful comments.
I'll give some play time to all of these suggestions :)

One thing I was thinking might be useful would be a command to make
(just) my repository unavailable for 'fetch' or 'pull' from others,
temporarily.  And then a command to make it available again,
after I finish things that could end up needing "database" surgery,
like maybe something that could result in having to do a git reset.
I was thinking maybe something like:

   $ git config maintenance true
   .... do something that may end up needing "database" surgery
   $ git config maintenance false

Just an idea.  Of course, if something like this already exists ....
(I'd rather not shut down sshd, nor have to create a separate "public"
  repository (for certain types of "projects" anyway).)

-Kurt

Keith Duthie wrote:
> On Thu, 7 Jun 2007, kurt_p_lloyd wrote:
> 
>> Except here's the model that I am trying to follow....
>> It seems that 'pull' can be partitioned into 3 separate responsibilities:
>>
>>   1. Retrieve changes from the remote user's replica (without modifying
>>      any /local/ branches).
>>   2. Bring changes from "remote" into a local branch (without commit).
>>   3. Commit.
> 
> I believe you can accomplish step one with a remote tracking branch
> ("git-remote add localname git://whereever/project.git" to add the branch
> to the repository, then "git-remote update localname" to update it to the
> current remote state).

  reply	other threads:[~2007-06-07 20:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07  4:26 pull/merge --no-commit kurt_p_lloyd
2007-06-07  4:39 ` kurt_p_lloyd
2007-06-07  5:24 ` Junio C Hamano
2007-06-07 18:31   ` kurt_p_lloyd
2007-06-07 18:58     ` Junio C Hamano
2007-06-07 18:59     ` Kevin Green
2007-06-07 19:12     ` Keith Duthie
2007-06-07 20:32       ` kurt_p_lloyd [this message]
2007-06-07 20:43         ` J. Bruce Fields
2007-06-07 20:51         ` Keith Duthie

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=46686B63.6080808@alcatel-lucent.com \
    --to=kplloyd@alcatel-lucent.com \
    --cc=Kevin.T.Green@morganstanley.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=keith@no.net.nz \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.