Skip to content

Commit c1f56f7

Browse files
committed
Merging request 1108 which allows tree object parsing to deal with whitespace in path names
Merge commit 'refs/merge-requests/1108' of git://gitorious.org/git-python/mainline into integration
2 parents 13ac6b6 + bdf2e66 commit c1f56f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def content_from_string(repo, text):
4545
``git.Blob`` or ``git.Tree``
4646
"""
4747
try:
48-
mode, typ, id, name = text.expandtabs(1).split(" ", 4)
48+
mode, typ, id, name = text.expandtabs(1).split(" ", 3)
4949
except:
5050
return None
5151

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy