Merge fdbeec93ad1e8057b07de286fb76d1bf44797697 into 8487c083e1faecb1259be8a8873618cfdb69d33d

This commit is contained in:
Stephen Caudle 2024-03-19 10:46:44 -03:00 committed by GitHub
commit 4310e0d611
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

1
cpplint/cpplint.py vendored
View File

@ -1143,6 +1143,7 @@ class FileInfo(object):
os.path.exists(os.path.join(current_dir, ".hg")) or
os.path.exists(os.path.join(current_dir, ".svn"))):
root_dir = current_dir
break
current_dir = os.path.dirname(current_dir)
if (os.path.exists(os.path.join(root_dir, ".git")) or