From: Junio C Hamano Date: Fri, 08 Oct 2021 21:54:51 GMT Subject: Re: How do I get the file contents from an arbitrary revision to stdout? Message-ID: In-Reply-To: Jeff King writes: > git cat-file -p bar-branch:foo.c > > (the "-p" is "pretty-print based on the object's type", so the two are > equivalent). IIRC, "cat-file -p" doesn't do textconv, but "show" would, and depending on the use case the difference may matter.