From: Mike Gant <mwgant@gmail.com>
To: git@vger.kernel.org
Cc: Dieter Plaetinck <dieter@plaetinck.be>
Subject: Re: [PATCH] git-add: allow --ignore-missing always, not just in dry run
Date: Mon, 6 Feb 2012 21:39:09 -0700 [thread overview]
Message-ID: <20120207043909.GA16349@gantsfort.com> (raw)
In-Reply-To: <1326923544-8287-1-git-send-email-dieter@plaetinck.be>
On Wed, Jan 18, 2012 at 10:52:24PM +0100, Dieter Plaetinck wrote:
> There is no need to restrict use of --ignore-missing to dry runs,
> it can be useful to ignore missing files during normal operation as
> well.
FWIW I would be in favor of this change and I was going to submit a
patch, too. My use case is different, though. I create branches that
will never be merged to the mainline because they have files added that
I don't want in master. The files added to these branches can vary. In
my script to create the branch, I want the largest possible set of these
files as the argument to 'git add' but if not all exist it's okay. I
realize I can write my script to only add the files that exist but I'm
lazy ;) and the --ignore-missing option would be easier.
Mike
prev parent reply other threads:[~2012-02-07 4:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-18 21:52 [PATCH] git-add: allow --ignore-missing always, not just in dry run Dieter Plaetinck
2012-01-18 22:56 ` Junio C Hamano
2012-01-19 10:52 ` Dieter Plaetinck
2012-01-19 21:26 ` Junio C Hamano
2012-01-20 18:14 ` Dieter Plaetinck
2012-01-19 11:03 ` Thomas Rast
2012-01-19 18:46 ` Junio C Hamano
2012-01-20 12:56 ` Thomas Rast
2012-01-20 18:03 ` Junio C Hamano
2012-02-07 4:39 ` Mike Gant [this message]
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=20120207043909.GA16349@gantsfort.com \
--to=mwgant@gmail.com \
--cc=dieter@plaetinck.be \
--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).