# Different behaviour of git and cogito

1 messages from 2005-09-22 to 2005-09-22. Participants: Josef Weidendorfer.
Thread: https://gitlist.dev/t/1911

## Josef Weidendorfer, 2005-09-22 13:20

Subject: Different behaviour of git and cogito
Message-ID: <200509221520.22088.Josef.Weidendorfer@gmx.de>
URL: https://gitlist.dev/e/200509221520.22088.Josef.Weidendorfer%40gmx.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

```
