From: Junio C Hamano Date: Mon, 03 Feb 2014 23:12:37 GMT Subject: Re: [PATCH 3/8] tree-diff: no need to manually verify that there is no mode change for a path Message-ID: In-Reply-To: <83f38f44dab9e07e99ad851f531e01cee52e7019.1391430523.git.kirr@mns.spb.ru> Kirill Smelkov 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.