From: Andreas Ericsson Date: Fri, 09 Nov 2007 13:20:05 GMT Subject: Re: cogito remote branch Message-ID: <47345E85.8090702@op5.se> In-Reply-To: <1IqTj5-24rt3I0@fwd33.aul.t-online.de> MichaelTiloDressel@t-online.de wrote: > Hi, > > I just saw the scripts cg-update, cg-push .. scripts try to guess a > branch name functioning as origin if no argument is given. These scripts > seam to use a branch named -origin if it exists and the > current > branch is named and is not the branch named master. > > I like that feature. Is it anywhere documented? > > In case there is no branch named -origin the scripts just > use origin even if the current branch is not master. I would prefer the > scripts to fail in this case and to print a message asking the user to > specifically name a branch. > Cogito is deprecated, and has been for quite some time. The "remote" feature of core git (inspired by cogito) offers similar benefits. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231