Commits

Drew Peterson  committed c811139

Improve usability of bare git repositories; see #22

  • Participants
  • Parent commits 0dcc201

Comments (0)

Files changed (1)

File src/BitbucketBackup/RepositoryFactory.cs

 
+using System;
+
 namespace BitbucketBackup
 {
     internal class RepositoryFactory : IRepositoryFactory
                 case "hg":
                     return new MercurialRepository(remoteUri, localFolder, this.config);
                 case "git":
-                    return new GitRepository(remoteUri, localFolder);
+                    return new GitRepository(remoteUri, String.Format("{0}.git", localFolder));
                 default:
                     return null;
             }