Git: split clone into atomic operations.
authorKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Thu, 14 Apr 2011 08:48:00 +0000 (12:48 +0400)
committerKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Thu, 14 Apr 2011 08:48:00 +0000 (12:48 +0400)
commitbf271b1a9496881c43511040db4f75d126261fae
treead98361d7997c52e40e4f81e3dc379e782fd5730
parenteb7d6c5e3b91e603c52df8f193daed1a4af10b25
Git: split clone into atomic operations.

Split clone to mkdir, init, add remote, fetch and checkout.
Add notifications in the case of error.

Reason: extract the remote FETCH operation, which will be handled by JGit for HTTP in futher changes.
plugins/git4idea/src/git4idea/Git.java [new file with mode: 0644]
plugins/git4idea/src/git4idea/actions/GitInit.java
plugins/git4idea/src/git4idea/checkout/GitCheckoutProvider.java
plugins/git4idea/src/git4idea/commands/GitHandlerUtil.java
plugins/github/src/org/jetbrains/plugins/github/GithubCheckoutProvider.java