Skip to content

Handle file names with spaces cleanly

git-weave used shell backticks to pass a list of files into rm from git ls-tree, this is not safe for any arbitrary sequence of file names. Spaces would especially be troublesome and could cause git-weave to start adding files in branches and commits they did not belong!

I've tested that such repositories now round-trip without any data loss (same commit IDs before and after).

Merge request reports

Loading