1. 11 Jan, 2014 2 commits
  2. 02 Dec, 2013 1 commit
  3. 25 Nov, 2013 2 commits
  4. 01 Nov, 2013 1 commit
  5. 31 Oct, 2013 2 commits
  6. 16 Oct, 2013 6 commits
  7. 01 Oct, 2013 1 commit
  8. 26 Sep, 2013 1 commit
  9. 22 Aug, 2013 1 commit
  10. 07 Aug, 2013 1 commit
  11. 02 Aug, 2013 1 commit
  12. 01 Aug, 2013 1 commit
  13. 20 Jul, 2013 1 commit
  14. 18 Jul, 2013 1 commit
    • Resolve incompatability between depth and version · 95a22338
      Git is unable to checkout the specified `version` when the repository is
      cloned with a reduced history (`depth`).  However, if the repository is
      already cloned, subsequent git module calls will update the repository
      (default update=True), then properly checkout the specified `version`.
      To allow the initial call to properly clone the specified `version`, at
      the specified `depth`, this patch adds the `--branch` parameter when
      cloning the repository.
      James Laska committed
  15. 04 Jul, 2013 1 commit
  16. 20 Jun, 2013 1 commit
    • Add submodule support to git module · 76d84833
      This does two things:
      * add --recursive option to git clone command in clone().  This will
        initialize all submodules when cloning a remote repository.
      * Add submodule_update() and call that from fetch().  submodule_update()
        calls two git commands iff the file .gitmodules exists in the
        repository:
        * 'git submodule sync' - synchronizes the submodules' remote URL
          configuration setting to the value in .gitmodules.
        * 'git submodule update --init --recursive' - initialize and update
          registered submodules to the commit specified in the index of the
          containing repository.
      
      If a repository was cloned without --recursive, submodule_update() will
      ensure that the submodules are initialized and updated.
      Stephen Fromm committed
  17. 15 Jun, 2013 1 commit
  18. 31 May, 2013 2 commits
  19. 23 May, 2013 1 commit
  20. 16 May, 2013 1 commit
    • Add an update option to the git module · f645d27f
      This will allow just making sure the repo exists w/out actually making
      any chnages to it. Useful if you're going to run a play repeatedly
      against a host that might have active development going on in the
      repository (think initial bootstrap of a developers system, and
      continued playbook runs to work on other projects).
      Jesse Keating committed
  21. 28 Apr, 2013 1 commit
  22. 11 Apr, 2013 1 commit
  23. 30 Mar, 2013 1 commit
  24. 20 Mar, 2013 1 commit
    • Fixes for get_remote_head in git module · b694b9a6
      See issue #2471
      
      This fixes get_remote_head() to be smarter about how to check remote
      head.  It checks if it is a remote branch or tag and then checks for the
      remote object id associated with it.  If it is sha1, get_remote_head()
      returns it as-is since there doesn't appear to be a way to check a
      remote repository for a specific object/sha1.  is_remote_tag() is added
      to help out the new functionalit in get_remote_head().
      
      In main(), if check_mode is true and version is a sha1, the module now
      checks to see if the object is present.
      Stephen Fromm committed
  25. 15 Mar, 2013 1 commit
    • Add check mode to git module · 73772a41
      Related to issue #2114.  This hooks in check_mode to git module.  This
      will exit with changed=True at the following places:
      
      * If the repo has not been cloned
      * If the destination has local modifications, this will exit with
        changed=True.  This is because reset() will exit anyways if there are
        local mods and force is False.
      * If the remote HEAD commit id is not the same as that of the local HEAD.
        This is determined by get_remote_head() that runs 'git ls-remote' to
        determine remote HEAD.
      
      Lastly, if this is run with check_mode enabled, this will exit with
      changed=False before fetch() is invoked so that no local mods are made.
      Stephen Fromm committed
  26. 12 Mar, 2013 1 commit
  27. 23 Feb, 2013 3 commits
  28. 16 Feb, 2013 1 commit
  29. 13 Feb, 2013 1 commit