disallowing push to currently checked-out branch

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

 



On Mon, Feb 16, 2009 at 01:20:13AM +0200, Heikki Orsila wrote:

> > * git-push to update the checked out branch will be refused by default
> > 
> >   Make "git push" into a repository to update the branch that is checked
> >   out fail by default.
> > 
> >   http://thread.gmane.org/gmane.comp.version-control.git/107758/focus=108007
> 
> If this is implemented, it shouldn't, in my opinion, be a default 
> setting. I regularly push to checkout repos when I'm doing cross machine 
> development. However, I could live with a configurable setting as 
> proposed in the given URL. I think Git should not be too cautious about 
> following users instructions. The user knows what is best for him/her ;)

It is already implemented; the proposal is about setting the default.
The plans for 1.6.2 are already to issue a warning and ask the user to
set the config variable to shut it up.

-Peff
--
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