git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: git <git@vger.kernel.org>
Subject: Can I exclude .gitmodules (or any file) from git-format-patch?
Date: Thu, 4 Feb 2010 16:10:04 -0600	[thread overview]
Message-ID: <ed82fe3e1002041410u65c2332atf5493f751fac8c17@mail.gmail.com> (raw)

Is there a way I can get git-format-patch to ignore specific files?
Specifically, I want it to ignore .gitmodules.  This file is changed
whenever a submodule is added or removed, but I don't want git
format-patch to pick it up.  I already specify --ignore-submodules, so
I was expecting format-patch to ignore *everything* related to
sobmodules.

Perhaps --ignore-submodules should also ignore any changes to .gitmodules?

(Why is .gitmodules not in the .git directory, anyway?)

-- 
Timur Tabi
Linux kernel developer at Freescale

                 reply	other threads:[~2010-02-04 22:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ed82fe3e1002041410u65c2332atf5493f751fac8c17@mail.gmail.com \
    --to=timur@freescale.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).