Different behaviour of git and cogito

From: Josef Weidendorfer <hidden>
Date: 2016-06-15 22:42:07

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help