"Shawn O. Pearce" <spearce@xxxxxxxxxxx> 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>" <> <> <> <> - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html