threads / discuss / 1911

Different behaviour of git and cogito

Subject: Different behaviour of git and cogito

## tl;dr

One message between Sep 22, 2005 and Sep 22, 2005.

replies: 0people: 1as markdown or json

Josef Weidendorfer· Sep 22, 2005, 13:20 UTC · lore
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

← back to recent threads