From: Jakub Narebski Date: Sat, 02 Dec 2006 08:55:16 GMT Subject: Re: [RFC] git-add update with all-0 object Message-ID: In-Reply-To: <7vhcwgcf39.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: >         * 'git-diff' [--options] -- [...] > >           is to see the changes between two . > >         Just in case if you are doing something exotic, it >         should be noted that all of the in the above >         descriptoin can be any . s/descriptoin/description/ It _might_ be worth mentioning that you can compare two arbitrary files using git diff [--options] where can be entered as :, usually : ( is HEAD:) to compare blob (file) from a named tree/from a given commit, or as :: (or just :: if file is not in merge conflict) to compare blob (file) from an index. If I understand correctly there is currently no way to compare files from a working tree, not to mention files outside working tree (including /dev/null) with that syntax. -- Jakub Narebski Warsaw, Poland ShadeHawk on #git