From: Pankaj G. <syn...@ya...> - 2013-10-09 14:37:58
|
Hi, I'm new to jgit and learning it. I was able to successfully compile and run below program but i don't see /tmp/git created. What did i miss? import edu.nyu.cs.javagit.api.*; import java.io.IOException; import java.io.File; import edu.nyu.cs.javagit.api.JavaGitException; public class j1 { public static void main (String args[]) { try { File repositoryDirectory = new File("/tmp/git/"); DotGit dotGit = DotGit.getInstance(repositoryDirectory); dotGit.init(); } catch (JavaGitException j) { System.err.println("Caught JavaGitException" +j.getMessage()); } } } -Pankaj |