public class Main extends Object
| Constructor and Description | 
|---|
Main()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
main(String[] argv)
Execute the command line. 
 | 
protected Repository | 
openGitDir(String aGitdir)
Evaluate the  
--git-dir option and open the repository. | 
protected void | 
run(String[] argv)
Parse the command line and execute the requested action. 
 | 
public static void main(String[] argv)
argv - arguments.protected void run(String[] argv)
 class ExtMain {
        public static void main(String[] argv) {
                new ExtMain().run(argv);
        }
 }
 argv - arguments.protected Repository openGitDir(String aGitdir) throws IOException
--git-dir option and open the repository.aGitdir - the --git-dir option given on the command line. May be
            null if it was not supplied.IOException - the repository cannot be opened.Copyright © 2015 Eclipse JGit Project. All rights reserved.