Re: [PATCH 4/8] diff: support reading a file from stdin via "-"
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 26, 2007, 00:03 UTC
- 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...