{"thread":{"id":"21629","subject":"Bugs ignoring submodules?","startedAt":"2009-11-15T14:57:22Z","lastAt":"2009-11-15T14:57:22Z","messageCount":1,"participants":["Felipe Contreras"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"127617","messageId":"94a0d4530911150657y6692a531hed99230c0d9dc315@mail.gmail.com","threadId":"21629","inReplyTo":null,"subject":"Bugs ignoring submodules?","fromName":"Felipe Contreras","fromEmail":"felipe.contreras@gmail.com","sentAt":"2009-11-15T14:57:22Z","receivedAt":"2009-11-15T14:57:22Z","isPatch":false,"sender":{"key":"felipe.contreras@gmail.com","avatar":"https://avatars.githubusercontent.com/u/8358?v=4"},"body":"Hi,\n\nI'm trying to format patches ignoring changes in the submodules, and\nso far everything I've tried is failing, which I think points to\nmultiple bugs. I'm using 1.6.5.2.\n\nFirst I tried:\n% git format-patch --ignore-submodules\n\nThat ignores the submodules, all right, but still generates an empty\npatch, just like 'git log' shows no diff.\n\nThen I tried:\n% git log <committish> -- $(git ls-files -x <submodule>)\n\nBut the submodule is still listed:\n% git ls-files --exclude=common | grep ^common\ncommon\n\nThese are bugs, right? Is there some other recommendation?\n\n-- \nFelipe Contreras\n"}]}