Re: [PATCH 1/2] Introduce receive.guardCurrentBranch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, 24 Mar 2008, Miklos Vajna wrote:

> On Sun, Mar 23, 2008 at 09:43:43PM +0100, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote:
> > +receive.guardCurrentBranch::
> > +	If set to true, git-receive-pack will deny to update the ref that
> > +	HEAD points to, if HEAD is not detached.  This configuration
> > +	variable is set when initializing a non-bare repository.
> 
> probably i want too much, but it would be really nice if receive-pack 
> could just make HEAD detached. so that the user later can do a 'git 
> checkout -m master' to resolve possible conflicts.

As I wrote earlier, you can do that with a hook.

I do not want any official support for this, since I think it is an 
absolutely horrible idea.  I think I said that earlier, too.

Ciao,
Dscho

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux