correct quick-clone where initBranch is null

should fix #477
This commit is contained in:
Philippe Miossec
2013-11-04 11:28:18 +01:00
parent 6009f50130
commit e2b4d60f50
+2 -1
View File
@@ -30,7 +30,8 @@ namespace Sep.Git.Tfs.Commands
this.globals = globals;
this.initBranch = initBranch;
//[Temporary] Remove in the next version!
initBranch.DontDisplayObsoleteMessage = true;
if (initBranch != null)
initBranch.DontDisplayObsoleteMessage = true;
this.stdout = stdout;
}