|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.pgm.Main
public class Main
Command line entry point.
| Constructor Summary | |
|---|---|
Main()
|
|
| Method Summary | |
|---|---|
static void |
main(String[] argv)
Execute the command line. |
protected Repository |
openGitDir(String gitdir)
Evaluate the --git-dir option and open the repository. |
protected void |
run(String[] argv)
Parse the command line and execute the requested action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Main()
| Method Detail |
|---|
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 gitdir)
throws IOException
--git-dir option and open the repository.
gitdir - the --git-dir option given on the command line. May be
null if it was not supplied.
IOException - the repository cannot be opened.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||