[GitHub] maven-scm pull request #56: [SCM-739] Use shallow clones when cloning a git ...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] maven-scm pull request #56: [SCM-739] Use shallow clones when cloning a git ...

Tcharl
GitHub user arteam opened a pull request:

    https://github.com/apache/maven-scm/pull/56

    [SCM-739] Use shallow clones when cloning a git repo

    For `maven-release-plugin` we don't need the whole history, but only the top commit. Using `--depth 1` allows to perform releases much faster on repositories with a long history.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/arteam/maven-scm git-clone-shallow

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-scm/pull/56.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #56
   
----
commit c041868bf8c543cecb34c8f002f02438e6f81b52
Author: Artem Prigoda <[hidden email]>
Date:   2017-11-22T15:52:00Z

    [SCM-739] Use shallow clones when cloning a git repo
   
    For `maven-release-plugin` we don't need the whole history, but
    only the top commit. Using `--depth 1` allows to perform releases
    much faster on repositories with a long history.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[GitHub] maven-scm issue #56: [SCM-739] Use shallow clones when cloning a git repo

Tcharl
Github user arteam commented on the issue:

    https://github.com/apache/maven-scm/pull/56
 
    I like the proposal, but I am a a little bit confused. Does the new parameter should be added to the `executeCheckOutCommand` method (like `recursive`) and be implemented by the all `AbstractCheckOutCommand` implementations or should it be a field in `GitCheckOutCommand`?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]