From: Junio C Hamano Date: Mon, 26 Feb 2007 00:03:47 GMT Subject: Re: [PATCH 4/8] diff: support reading a file from stdin via "-" Message-ID: <7vejodrdi4.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <7virdprejh.fsf@assigned-by-dhcp.cox.net> Another hack just occurred to me... get_pathspec() could translate '-' to /dev/stdin while leaving './-' to '-'. It could be rather too ugly to the taste of some people. Myself, I dunno...