All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
Cc: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>,
	git@vger.kernel.org, "Junio C Hamano" <gitster@pobox.com>
Subject: Re: [PATCH] Add git format-patch produced patches to .gitignore
Date: Sun, 16 May 2010 02:52:45 -0500	[thread overview]
Message-ID: <20100516075244.GA9010@progeny.tock> (raw)
In-Reply-To: <AANLkTinSJTzYOk_MRp2ddlLnbd5dC65q-c4zQbv8Oubj@mail.gmail.com>

Pavan Kumar Sunkara wrote:
> Ævar Arnfjörð Bjarmason wrote:

>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -203,3 +203,4 @@
>>  *.pdb
>>  /Debug/
>>  /Release/
>> +[0-9][0-9][0-9][0-9]-*.patch
[...]
> git format-patch -M origin/master -o outgoing/
> 
> So, my patches will be in subdirectory outgoing.
> But the regex rule in this patch won't be able to hide them.
> 
> What do u want to do in that case ?

Try it out.

In fact, I was worried that this patch would trigger a similar
problem: maybe some test data directory contains format-patch
output?  In fact none do, so I like the patch.

Thanks,
Jonathan

  reply	other threads:[~2010-05-16  7:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-15 21:22 [PATCH] Add git format-patch produced patches to .gitignore Ævar Arnfjörð Bjarmason
2010-05-16  6:27 ` Pavan Kumar Sunkara
2010-05-16  7:52   ` Jonathan Nieder [this message]
2010-05-16 13:06     ` Ævar Arnfjörð Bjarmason
2010-05-16 14:05 ` Michael J Gruber
2010-05-17  1:35   ` Jonathan Nieder
2010-05-17  2:04     ` [PATCH] Remove editor-specific droppings from .gitignore Ævar Arnfjörð Bjarmason
2010-05-17  2:22   ` [PATCH] Add git format-patch produced patches to .gitignore Jonathan Nieder
2010-05-17  7:52     ` Michael J Gruber

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=20100516075244.GA9010@progeny.tock \
    --to=jrnieder@gmail.com \
    --cc=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=pavan.sss1991@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.