Re: [PATCH] fast-import: add ignore non-existent files option.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 2, 2008, 04:53 UTC
- Message-ID
- <7vfxojrvvp.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080902043951.GB13248@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 10 quoted lines
> OK, that argument makes sense. Then I wonder if more specific > error ignoring would be better: > > --ignore-error=already-deleted > --ignore-error=already-deleted,missing-mark,missing-copy-source > > I'm not really fond of turning an existing error condition that > exists to catch broken frontends into a generic tolerant flag. > But being able to selectively turn it off while leaving other > errors as errors isn't entirely unreasonable.
I think selective loosening of consistency check makes sense very much, but I have been wondering if these should be command line options.
The only example we saw so far is about output from one exporter. Perhaps it should be given to fast-import as initial set of commands ("#pragma"!) that describes the nature of the input file?