mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-08 19:49:09 +00:00
Fix git remote url change detection. (#20587)
* Fix git remote url change detection. When comparing paths, unfrackgitpath must be called on both sides of the comparison. Otherwise comparisons involving symlinks will return incorrect results. * Re-enable git test on OS X. * Return None from unfrackgitpath when path is None.
This commit is contained in:
parent
b3662fdad1
commit
836e0b59d2
2 changed files with 5 additions and 5 deletions
|
|
@ -48,9 +48,6 @@
|
|||
that:
|
||||
- not update_new_tag|changed
|
||||
- "'newtag' in listoftags.stdout_lines"
|
||||
# This test fails on osx.
|
||||
# Skipping it here so the remaining tests can be enabled.
|
||||
when: '{{ ansible_distribution != "MacOSX" }}'
|
||||
|
||||
|
||||
- name: clear checkout_dir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue