Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "JGit/New and Noteworthy/1.3"

(Updated Porcelain Commands)
(Features)
Line 1: Line 1:
= Features =
+
= New Porcelain Commands =
 
+
 
+
== New Porcelain Commands ==
+
 
* '''StashListCommand'''
 
* '''StashListCommand'''
 
** Provides a collection of all the currently stashed commits in a repository
 
** Provides a collection of all the currently stashed commits in a repository
=== Submodule Commands ===
+
== Submodule Commands ==
 
* '''SubmoduleAddCommand'''
 
* '''SubmoduleAddCommand'''
 
** Registers a new submodule repository at a path in a parent repository
 
** Registers a new submodule repository at a path in a parent repository
Line 16: Line 13:
 
* '''SubmoduleUpdateCommand'''
 
* '''SubmoduleUpdateCommand'''
 
** Clones missing submodules and merge, rebases, or checks out the commit SHA-1 of the submodule in the index
 
** Clones missing submodules and merge, rebases, or checks out the commit SHA-1 of the submodule in the index
== Updated Porcelain Commands ==
+
= Updated Porcelain Commands =
 
* '''CloneCommand'''
 
* '''CloneCommand'''
 
** Supports cloning submodules after the parent repository clone finishes
 
** Supports cloning submodules after the parent repository clone finishes
Line 25: Line 22:
 
** Supports setting the maximum number of commits to display
 
** Supports setting the maximum number of commits to display
 
** Supports setting the number of commits to skip over before returning any
 
** Supports setting the number of commits to skip over before returning any
 +
= Windows Bug Fixes =

Revision as of 14:47, 5 February 2012

New Porcelain Commands

  • StashListCommand
    • Provides a collection of all the currently stashed commits in a repository

Submodule Commands

  • SubmoduleAddCommand
    • Registers a new submodule repository at a path in a parent repository
  • SubmoduleInitCommand
    • Initializes the repository's config with entries from the .gitmodules file
  • SubmoduleStatusCommand
    • Provides the status of all the registered submodules in a repository
  • SubmoduleSyncCommand
    • Updates the remote URL used by a submodule with the value currently in the .gitmodules' file
  • SubmoduleUpdateCommand
    • Clones missing submodules and merge, rebases, or checks out the commit SHA-1 of the submodule in the index

Updated Porcelain Commands

  • CloneCommand
    • Supports cloning submodules after the parent repository clone finishes
  • DiffCommand
    • Supports setting a custom source and destination prefix (defaults to a/ and b/)
    • Supports setting the number of context lines to display (defaults to 3)
  • LogCommand
    • Supports setting the maximum number of commits to display
    • Supports setting the number of commits to skip over before returning any

Windows Bug Fixes

Back to the top