You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But Sparkleshare relies on ~/.config/sparkleshare/config.xml to syncronize the repository, which preserves the old origin. I think it's a bug - Sparkleshare should track any repository inside ~/Sparkleshare and use the git configuration of each repository to syncronize, instead of maintaining another meta-information (it could be a problem in future when not using Git, but if Sparkleshare will use its own configuration file, probably a good solution is to update this file with information returned by the Git repository).
The text was updated successfully, but these errors were encountered:
SparkleShare can't keep track of any git repo. When you add a project a lot of custom configuration is added to make things run smoothly. The urls are stored in the config.xml as it's needed by the backend (mainly to be compatible with different types of backends). The fact that the url also exists in the repo itself is just the default behaviour of git-clone, it's not actually used.
Now that I think about it, it would be nice to only have to update the configuration in one place, so I'll let the repo config be updated by the config.xml on startup.
I changed the remote origin of a repository by executing:
But Sparkleshare relies on
~/.config/sparkleshare/config.xml
to syncronize the repository, which preserves the old origin. I think it's a bug - Sparkleshare should track any repository inside~/Sparkleshare
and use the git configuration of each repository to syncronize, instead of maintaining another meta-information (it could be a problem in future when not using Git, but if Sparkleshare will use its own configuration file, probably a good solution is to update this file with information returned by the Git repository).The text was updated successfully, but these errors were encountered: