From: Junio C Hamano Date: Tue, 22 Nov 2005 05:46:57 +0000 (-0800) Subject: Teach update-index to read from ls-tree. X-Git-Tag: v0.99.9k^2~11 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9c20a4706767e6003e62f6500ed94ccddcbe322f?hp=9c20a4706767e6003e62f6500ed94ccddcbe322f Teach update-index to read from ls-tree. git-update-index --index-info can almost be usable to read from ls-tree output to update the index (and not the working tree file) to HEAD commit, but not quite. It was designed to read from git-apply --index-info output, and does not want " blob " in ls-tree output. Accept that as well. This lets us update "git-checkout " that used to filter the extra " blob " string out. Noted by Luben. Signed-off-by: Junio C Hamano ---