pwhittlesea/GitCake — pull request #2 by amn-ecs (2014-04-21 20:53:26+00:00)
Title: Fix double-quote shenanigans

Turns out git ls-tree does some fun escaping type stuff of its own with the filenames (so e.g. a file named foo'bar will appear as foo'bar, but foo"bar will appear as "foo\"bar"). Using the -z option stops it from doing this, but the output is null-separated instead of newline-separated.