git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: cogito remote branch

From
MMichaelTiloDressel@t-online.de <michaeltilodressel@t-online.de>
Date
Nov 9, 2007, 13:51 UTC
Message-ID
<1IqUGN-1XXOVs0@fwd33.aul.t-online.de>
In-Reply-To
<47345E85.8090702@op5.se>
Such a pity.  We just got used to it.
-----Original Message-----
Date: Fri, 09 Nov 2007 14:20:05 +0100
Subject: Re: cogito remote branch
From: Andreas Ericsson 
To: "MichaelTiloDressel@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
Show 8 quoted lines
> 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
Previous: Andreas EricssonNext: Johannes Schindelin
Message 3 of 8 in “cogito remote branch”
  1. MichaelTiloDressel@t-online.deNov 9, 2007
  2. Andreas EricssonNov 9, 2007
  3. MichaelTiloDressel@t-online.deNov 9, 2007
  4. Johannes SchindelinNov 9, 2007
  5. MichaelTiloDressel@t-online.deNov 9, 2007
  6. Jon LoeligerNov 9, 2007
  7. Michael DresselNov 10, 2007
  8. Jakub NarebskiNov 10, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.