community.general/lib/ansible/modules/source_control
Robin Roth 281398fdc2 fix git switch branches in combination with depth on old git versions (#3492)
* fix git switch branches in combination with depth

* the old implementation is correct, but relies on git working correctly
  (as only newer versions do)
* with some older git version (e.g. 1.8.3), git fetch remote branch does
  not work, if the branch does not yet exist locally
* this patch works around that without explicitly checking the git version
* future refactoring is needed to reduce the number of fetches to a
  minimum; but this patch makes the code "correct"

* add git version requirements to doc

* replace set-branches with git 1.7.1 compatible version
2016-12-08 11:24:20 -05:00
..
__init__.py package files 2016-12-08 11:22:22 -05:00
git.py fix git switch branches in combination with depth on old git versions (#3492) 2016-12-08 11:24:20 -05:00
hg.py hg: discard changes without changing the current revision 2016-12-08 11:23:57 -05:00
subversion.py Missing documentation fix (#2516) 2016-12-08 11:24:17 -05:00