489. If the land becomes so enclosed in consequence of a sale, of a partition, or of a will, it is the vendor, the co-partitioner, or the heir, and not the proprietor of the land which offers the shortest crossing, who is bound to furnish the way, which is in such case due, without indemnity.