Re: [PATCH 3/8] tree-diff: no need to manually verify that there is no mode change for a path
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 3, 2014, 23:12 UTC
- Message-ID
- <xmqqvbwvbxju.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <83f38f44dab9e07e99ad851f531e01cee52e7019.1391430523.git.kirr@mns.spb.ru>
Kirill Smelkov <kirr@mns.spb.ru> writes:
> Because if there is, such two tree entries would never be compared as > equal - the code in base_name_compare() explicitly compares modes, if > there is a change for dir bit, even for equal paths, entries would > compare as different.
OK.