community.general/lib/ansible/modules/source_control
Marius Gedminas 3a8a11d85f git: fix change testing when version is HEAD (#3025)
When `version` is not specified, it defaults to "HEAD".  "HEAD" is not a
remote tag, and it's not listed in the output of get_branches(), so we'd
keep repo_updated at the default value (None) and then return early with
changed=True in --check mode, even when before == after.

Fixes #3024.
2016-12-08 11:24:38 -05:00
..
__init__.py package files 2016-12-08 11:22:22 -05:00
git.py git: fix change testing when version is HEAD (#3025) 2016-12-08 11:24:38 -05:00
hg.py Use the proper type for 'dest' argument 2016-12-08 11:24:28 -05:00
subversion.py Missing documentation fix (#2516) 2016-12-08 11:24:17 -05:00