mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Merge fdbeec93ad1e8057b07de286fb76d1bf44797697 into 8487c083e1faecb1259be8a8873618cfdb69d33d
This commit is contained in:
commit
4310e0d611
1
cpplint/cpplint.py
vendored
1
cpplint/cpplint.py
vendored
@ -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, ".hg")) or
|
||||||
os.path.exists(os.path.join(current_dir, ".svn"))):
|
os.path.exists(os.path.join(current_dir, ".svn"))):
|
||||||
root_dir = current_dir
|
root_dir = current_dir
|
||||||
|
break
|
||||||
current_dir = os.path.dirname(current_dir)
|
current_dir = os.path.dirname(current_dir)
|
||||||
|
|
||||||
if (os.path.exists(os.path.join(root_dir, ".git")) or
|
if (os.path.exists(os.path.join(root_dir, ".git")) or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user