Skip to content
Snippets Groups Projects
Commit 1c234b96 authored by Jonas Haag's avatar Jonas Haag
Browse files

Fix #113: Fix whitespace in filenames in diff

The 'diff.py' module used to parse unified diff lines like

  +++ a/foo/bar /spam/eggs

as

  "/foo/bar"

i.e. stripping anything behind whitespace. This is because it tried to
recognize the part after whitespace as a commit revision id. As dulwich
never uses the latter, I simply removed that feature. Whitespace isn't
special-cased anymore now.
parent 0cf03884
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment