From: Mike Gant Date: Tue, 07 Feb 2012 04:39:09 GMT Subject: Re: [PATCH] git-add: allow --ignore-missing always, not just in dry run Message-ID: <20120207043909.GA16349@gantsfort.com> 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