git.samba.org
/
jelmer
/
dulwich.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c93835
)
In index.build_index_from_tree, pass the validate_path_element onto validate_path.
author
Gary van der Merwe
<garyvdm@gmail.com>
Mon, 11 May 2015 07:40:27 +0000
(09:40 +0200)
committer
Gary van der Merwe
<garyvdm@gmail.com>
Mon, 11 May 2015 07:40:27 +0000
(09:40 +0200)
dulwich/index.py
patch
|
blob
|
history
diff --git
a/dulwich/index.py
b/dulwich/index.py
index c04392efbd7525a689636328869501e616b93040..0df2d6dd711cc189eff454e860ce7c9cd9f6b635 100644
(file)
--- a/
dulwich/index.py
+++ b/
dulwich/index.py
@@
-484,7
+484,7
@@
def build_index_from_tree(prefix, index_path, object_store, tree_id,
index = Index(index_path)
for entry in object_store.iter_tree_contents(tree_id):
- if not validate_path(entry.path):
+ if not validate_path(entry.path
, validate_path_element
):
continue
full_path = os.path.join(prefix, entry.path.decode(sys.getfilesystemencoding()))