From: Shawn O. Pearce Date: Tue, 19 Jan 2010 06:29:04 GMT Subject: Re: "warning: Updating the currently checked out branch may cause confusion" on bare repositories Message-ID: <20100119062904.GB23212@spearce.org> In-Reply-To: Adam Megacz wrote: > > It seems that the message "warning: Updating the currently checked out > branch may cause confusion" is unnecessary when pushing to a bare > "myproject.git" repository (instead of a "myproject/.git" repository). > > Is this the case? > > If so, perhaps the warning should be omitted when the target is a bare > repository. That should already be the case. Did you create the bare repository by taking a copy of a non-bare's .git directory? Check your bare repository's config file and see if core.bare = false, if so set it to true to signal it really is bare. -- Shawn.