{"thread":{"id":"39006","subject":"Feature request: Update remote url if it is redirected.","startedAt":"2015-04-05T10:44:07Z","lastAt":"2015-04-05T10:44:07Z","messageCount":1,"participants":["Yi, EungJun"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"259017","messageId":"CAFT+Tg8PyLG_hLVoR0s40J_tY1opRBe57XXLT9cpBv5=8ZtgOQ@mail.gmail.com","threadId":"39006","inReplyTo":null,"subject":"Feature request: Update remote url if it is redirected.","fromName":"Yi, EungJun","fromEmail":"semtlenori@gmail.com","sentAt":"2015-04-05T10:44:07Z","receivedAt":"2015-04-05T10:44:07Z","isPatch":false,"sender":{"key":"semtlenori@gmail.com","avatar":"https://gravatar.com/avatar/8363435d2badb3450df0dd7c4ec2113f6e1d62c44dd3cf7dfe83c5a389b8a9bf?d=mp&s=160"},"body":"Some git hosting services, like Github, a url to a git repository can\nbe changed by changing the name of the repository by the owner. If\nsomeone tries to get the repository with the old url, usually the\nhosting service serves the request with the repository indiciated by\nthe new url. It is very helpful for the users who don't know the url\nhas been changed.\n\nIn such case, I think it is recommended to update the user's remote\nurl with the new one because the old url possibily does not work if\nthe hosting service does not keep the old url anymore, or worse, works\nincorrectly if someone makes a repository with the old url.\n\nTo fix the potential problem, it would be nice if Git client asks the\nuser, while fetching objects from a remote url, to update the url if\nit is changed. If the client and the server is talking in HTTP, it is\neasy to know the url is changed if the server responses with 301 Moved\nPermantely or 308 Permanet Redirect.\n"}]}