From: Junio C Hamano Date: Thu, 01 Nov 2007 22:47:52 GMT Subject: Re: [PATCH 1/2] gitweb: Always set 'from_file' and 'to_file' in parse_difftree_raw_line Message-ID: <7v7il18twn.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1193917089-15920-2-git-send-email-jnareb@gmail.com> Jakub Narebski writes: > Always set 'from_file' and 'to_file' keys when parsing raw diff output > format line, even if filename didn't change (file was not renamed). > This allows for simpler code (and no problems with file named '0'). > > Use > $diffinfo->{'from_file'} > instead of > $diffinfo->{'from_file'} || $diffinfo->{'file'} > from now on. Isn't this description the other way around?