commit | db6443499376478f5281607a3923e6ffc4c8d8ec | [log] [tgz] |
---|---|---|
author | armvixl <vixl@arm.com> | Tue Jul 21 11:37:10 2015 +0100 |
committer | armvixl <vixl@arm.com> | Tue Jul 21 11:37:10 2015 +0100 |
tree | 7b735273ab6b530d3388dd61d0ff22f3565b47af | |
parent | 6e2c8275d5f34a531fe1eef7a7aa877601be8558 [diff] [blame] |
VIXL Release 1.10 Refer to the README.md and LICENCE files for details.
diff --git a/tools/git.py b/tools/git.py index dddaddf..2fca3ed 100644 --- a/tools/git.py +++ b/tools/git.py
@@ -28,8 +28,8 @@ import util import os.path -def is_git_repository_root(): - return os.path.isdir('.git') +def is_git_repository_root(path): + return os.path.isdir(os.path.join(path, '.git')) def get_tracked_files(): command = 'git ls-tree HEAD -r --full-tree --name-only'