From: Junio C Hamano Date: Wed, 14 Mar 2007 07:03:46 GMT Subject: Re: [GIT PULL] Please pull mergetool.git Message-ID: <7v4poogvcd.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20070314055923.GA20978@spearce.org> "Shawn O. Pearce" writes: > Why not use `git checkout-index --stage=all "$path"` ? > E.g.: > > git checkout-index --stage=all "$path" | > read base_temp local_temp remote_temp path $ echo a b c d | read a b c d; echo "<$a> <$b> <$c> <$d>" <> <> <> <>