The following is a valid git diff for a file that has whitespace in its path:
diff --git c/foo bar w/foo bar
new file mode 100644
index 0000000..e69de29
This package parses it as the following:
[
{
hunks: [],
oldEndingNewLine: true,
newEndingNewLine: true,
oldPath: 'foo',
newPath: 'r',
newMode: '100644',
oldRevision: '0000000',
newRevision: 'e69de29',
type: 'modify'
}
]
Instead, oldPath and newPath should both be 'foo bar'.