{"thread":{"id":"30895","subject":"git fast-export bug when using rename detection and paths contain spaces","startedAt":"2012-06-25T19:31:12Z","lastAt":"2012-06-25T19:31:12Z","messageCount":1,"participants":["Jay Soffian"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"194224","messageId":"CAG+J_DzGyog-pZrVzuxom0HfdBnf0MvbCMdNYNdaC=dFA31mRA@mail.gmail.com","threadId":"30895","inReplyTo":null,"subject":"git fast-export bug when using rename detection and paths contain spaces","fromName":"Jay Soffian","fromEmail":"jaysoffian@gmail.com","sentAt":"2012-06-25T19:31:12Z","receivedAt":"2012-06-25T19:31:12Z","isPatch":false,"sender":{"key":"jaysoffian@gmail.com","avatar":"https://avatars.githubusercontent.com/u/155970?v=4"},"body":"Repro:\n\ngit init temp-repo && cd temp-repo &&\necho foo > \"foo file\" && git add \"foo file\" && git commit -m foo &&\ngit mv \"foo file\" \"bar file\" && git commit -m \"rename foo to bar\" &&\ngit fast-export -C -M HEAD | grep ^R\n\nOutputs:\n\n  R foo file bar file\n\nIt should output:\n\n  R \"foo file\" \"bar file\"\n\nThis was allegedly fixed by 6280dfdc3b (fast-export: quote paths in\noutput, 2011-08-05). It seems that that commit expects quote_c_style\nto output surrounded quotes when the path contains spaces, but both\nempirically and from my quick look at quote_c_style, it doesn't seem\nthat the function does that.\n\nSadly, I don't have time to submit a fix ATM.\n\nj.\n"}]}