{"action":"opened","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/2373","labels_url":"https://api.github.com/repos/gogits/gogs/issues/2373/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/2373/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/2373/events","html_url":"https://github.com/gogits/gogs/issues/2373","id":125800594,"number":2373,"title":"Migration error due to a filename starting with ':'.","user":{"login":"congeal","id":9049972,"avatar_url":"https://avatars.githubusercontent.com/u/9049972?v=3","gravatar_id":"","url":"https://api.github.com/users/congeal","html_url":"https://github.com/congeal","followers_url":"https://api.github.com/users/congeal/followers","following_url":"https://api.github.com/users/congeal/following{/other_user}","gists_url":"https://api.github.com/users/congeal/gists{/gist_id}","starred_url":"https://api.github.com/users/congeal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/congeal/subscriptions","organizations_url":"https://api.github.com/users/congeal/orgs","repos_url":"https://api.github.com/users/congeal/repos","events_url":"https://api.github.com/users/congeal/events{/privacy}","received_events_url":"https://api.github.com/users/congeal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-10T05:02:16Z","updated_at":"2016-01-10T05:02:16Z","closed_at":null,"body":"I tried migrating an existing repo into Gogs, but it shows 500 server error.\r\nLog message showed like below:\r\nrouters/repo/view.go:134 Home()\r\n[E} GetCommitsInfo: GetCommitByPath (/:source): Length must be 40.\r\nI found out that the filename ':source' caused the error.\r\nAfter I renamed the filename to be without ':', pushed the original repo and retried migration, it works without any error.\r\nHowever, since the name is still starting with ':' in the other branches, the error shows whenever I change the branches.\r\nI'd like you to fix this problem so that I don't have to rename files staring with a colon."}}