| Summary: | Leverage CLI commands from jgit.pgm with JGit API | ||
|---|---|---|---|
| Product: | [Technology] JGit | Reporter: | Tomasz Zarna <tomasz.zarna> |
| Component: | JGit | Assignee: | Project Inbox <jgit.core-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | fps2, matthias.sohn, mmmicke |
| Version: | 1.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | 378078, 380117, 348318, 378224 | ||
| Bug Blocks: | |||
|
Description
Tomasz Zarna
org.eclipse.jgit.api.StatusCommand > org.eclipse.jgit.pgm.Status (doesn't exist, see bug 348318) * cannot find a CLI command for getting and setting repo/global options (org.eclipse.jgit.pgm.Config?) (In reply to comment #2) > * cannot find a CLI command for getting (...) repo/global options It's https://git.eclipse.org/r/#/c/4898/ See also https://git.eclipse.org/r/#/c/5763/ for adding --all switch to org.eclipse.jgit.pgm.Commit. See also https://git.eclipse.org/r/#/c/5764/ for printing out which branch has been checked out in org.eclipse.jgit.Checkout JGit Init command does not support specifying the directory for the new repository (but InitCommand in the api does). For example: jgit init my_new_repo returns: fatal: No argument is allowed: my_new_repo You have to create the new directory manually, and the executing "jgit init" from there. (In reply to comment #6) > JGit Init command does not support specifying the directory for the new > repository (but InitCommand in the api does). Filed bug 380117 for this. It should be easy to fix. |