|
||||||||||
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(java.lang.String[] argv)
Execute the command line. |
protected Repository |
openGitDir(java.lang.String gitdir)
Evaluate the --git-dir option and open the repository. |
protected void |
run(java.lang.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(java.lang.String[] argv)
argv
- arguments.protected void run(java.lang.String[] argv)
class ExtMain { public static void main(String[] argv) { new ExtMain().run(argv); } }
argv
- arguments.protected Repository openGitDir(java.lang.String gitdir) throws java.io.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.
java.io.IOException
- the repository cannot be opened.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |