From 114e3cb7a4c3d8da28edde87cc55310d27f3f3f9 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Sun, 11 Dec 2016 08:17:05 -0800 Subject: [PATCH] Fix typos in git.py (#19186) --- lib/ansible/modules/source_control/git.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/source_control/git.py b/lib/ansible/modules/source_control/git.py index 6c79e8a366..659c0428cc 100644 --- a/lib/ansible/modules/source_control/git.py +++ b/lib/ansible/modules/source_control/git.py @@ -401,7 +401,7 @@ def clone(git_path, module, repo, dest, remote, depth, version, bare, or refspec \ or is_remote_branch(git_path, module, dest, repo, version) \ or is_remote_tag(git_path, module, dest, repo, version): - # only use depth if the remote opject is branch or tag (i.e. fetchable) + # only use depth if the remote object is branch or tag (i.e. fetchable) cmd.extend([ '--depth', str(depth) ]) if reference: cmd.extend([ '--reference', str(reference) ]) @@ -902,7 +902,7 @@ def main(): os.umask(umask) # Certain features such as depth require a file:/// protocol for path based urls - # so force a protocal here ... + # so force a protocol here ... if repo.startswith('/'): repo = 'file://' + repo