{"action":"opened","issue":{"url":"https://api.github.com/repos/php-censor/php-censor/issues/114","repository_url":"https://api.github.com/repos/php-censor/php-censor","labels_url":"https://api.github.com/repos/php-censor/php-censor/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/php-censor/php-censor/issues/114/comments","events_url":"https://api.github.com/repos/php-censor/php-censor/issues/114/events","html_url":"https://github.com/php-censor/php-censor/issues/114","id":252732480,"number":114,"title":"feature: allow to use local copy while cloning","user":{"login":"SimonHeimberg","id":16302148,"avatar_url":"https://avatars1.githubusercontent.com/u/16302148?v=4","gravatar_id":"","url":"https://api.github.com/users/SimonHeimberg","html_url":"https://github.com/SimonHeimberg","followers_url":"https://api.github.com/users/SimonHeimberg/followers","following_url":"https://api.github.com/users/SimonHeimberg/following{/other_user}","gists_url":"https://api.github.com/users/SimonHeimberg/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonHeimberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonHeimberg/subscriptions","organizations_url":"https://api.github.com/users/SimonHeimberg/orgs","repos_url":"https://api.github.com/users/SimonHeimberg/repos","events_url":"https://api.github.com/users/SimonHeimberg/events{/privacy}","received_events_url":"https://api.github.com/users/SimonHeimberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-24T21:11:05Z","updated_at":"2017-08-24T21:11:05Z","closed_at":null,"body":"When there is a local repo copy, we could reduce bandwidth usage with it:\r\n```git clone --reference```\r\nfor newer git (somewhen after 2.7.4) the fillowing option only generates a warning when the repo is missing:\r\n```git clone --reference-if-able```\r\n\r\nCompared to --depth, this has the advantage of full history.\r\n\r\nAs other clone options (like --depth), this is a local config.\r\n\r\nWe could also keep the last copy of the repo. Then use `--dissociate` as option, because this copies the object.\r\n\r\nFor other vcs providers (hg, ...) this could be implemented by first cloning locally, then pulling from remote."}}
{"actor":{"display_login":"SimonHeimberg"}}