code: def _format_git_opts(opts):
      '''
      Do a version check and make sure that the installed version of git can
      support git -c
      '''
      if opts:
          version_ = version(versioninfo=False)
          if _LooseVersion(version_) < _LooseVersion('1.7.2'):
              raise SaltInvocationError(
                  'git_opts is only supported for git versions >= 1.7.2 '
                  '(detected: {0})'.format(version_)
              )
      return _format_opts(optsf _format_git_opts(opts):
      '''
      Do a version check and make sure that the installed version of git can
      support git -c
      '''
      if opts:
          version_ = version(versioninfo=False)
          if _LooseVersion(version_) < _LooseVersion('1.7.2'):
              raise SaltInvocationError(
                  'git_opts is only supported for git versions >= 1.7.2 '
                  '(detected: {0})'.format(version_)
              )
      return _format_opts(opts)
docs: Do a version check and make sure that the installed version of git can
      support git -c