{"thread":{"id":"22524","subject":"Can I exclude .gitmodules (or any file) from git-format-patch?","startedAt":"2010-02-04T22:10:04Z","lastAt":"2010-02-04T22:10:04Z","messageCount":1,"participants":["Timur Tabi"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"133644","messageId":"ed82fe3e1002041410u65c2332atf5493f751fac8c17@mail.gmail.com","threadId":"22524","inReplyTo":null,"subject":"Can I exclude .gitmodules (or any file) from git-format-patch?","fromName":"Timur Tabi","fromEmail":"timur@freescale.com","sentAt":"2010-02-04T22:10:04Z","receivedAt":"2010-02-04T22:10:04Z","isPatch":false,"sender":{"key":"timur@freescale.com","avatar":null},"body":"Is there a way I can get git-format-patch to ignore specific files?\nSpecifically, I want it to ignore .gitmodules.  This file is changed\nwhenever a submodule is added or removed, but I don't want git\nformat-patch to pick it up.  I already specify --ignore-submodules, so\nI was expecting format-patch to ignore *everything* related to\nsobmodules.\n\nPerhaps --ignore-submodules should also ignore any changes to .gitmodules?\n\n(Why is .gitmodules not in the .git directory, anyway?)\n\n-- \nTimur Tabi\nLinux kernel developer at Freescale\n"}]}