From: Junio C Hamano Date: Sat, 10 Dec 2005 07:06:37 GMT Subject: Re: [PATCH] Allow updating the index from a pipe Message-ID: <7vbqzpxwg2.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Daniel Barkalow writes: > In order to allow the index to be modified in simple ways without > having a working tree, this adds an option to git-update-index which > updates a single path with a mode of 100644 and reads the content from > stdin. I wonder ... Could you do this with existing hash-object with update-index --cache-info (or --index-info) please? If you do not want a temporary file and prefer piping contents into a command, extending hash-object would be preferable.