From: Junio C Hamano Date: Fri, 22 Feb 2013 23:07:20 GMT Subject: Re: [RFC/PATCH] hash-object doc: "git hash-object -w" can write invalid objects Message-ID: <7vtxp4aqxj.fsf@alter.siamese.dyndns.org> In-Reply-To: <20130222230132.GB4514@google.com> Jonathan Nieder writes: > Perhaps by default hash-object should automatically fsck the objects > it is asked to create. Yes, and let the experimentors to override when they are trying to invent a new object type, finished a reader but not a writer (that is why they are exprimenting with hash-object) nor updated fsck, with an explicit command line option to "hash-objects". Then we do not have to say "-w by default can create an invalid object" in its documentation. In a sense, allowing to create any garbage (by the definition of then-current fsck and the rest of the Git) is the raison d'etre of the command. Thanks.