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

Different behaviour of git and cogito

From
JWJosef Weidendorfer <josef.weidendorfer@gmx.de>
Date
Sep 22, 2005, 13:20 UTC
Message-ID
<200509221520.22088.Josef.Weidendorfer@gmx.de>
Hi,

with git 0.99.7 and cogito 0.15 there is a difference in interpretation of a URL for a remote repository:

The URL "machine:/path/to/rep" defaults to ssh protocol with GIT, but with Cogito to rsync. Cogito uses "git+ssh:" for the ssh protocol, but GIT does not recogize this protocol specifier.

So mixed use of GIT and Cogito in the same rep is not possible with these protocols, as Cogito uses .git/branches to store the URL for a remote rep, and GIT also checks in .git/branches.

Can we unify this behavior, i.e. (1) Cogito using ssh with a given URL "machine:/path/to/rep", and (2) GIT recognizing protocol "git+ssh:"?

For existing repos, change (1) could be cumbersome for Cogito users. Perhaps Cogito could do this when changing to use .git/remotes.

Josef
Message 1 of 1 in “Different behaviour of git and cogito”
  1. Josef WeidendorferSep 22, 2005

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.