diff options
| author | Kirill Smelkov <kirr@mns.spb.ru> | 2014-02-03 16:47:17 +0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-02-24 14:46:11 -0800 |
| commit | e197c2b650316f62e6dfee4fadcb4198a03b8325 (patch) | |
| tree | 2a3f6a2bc66e3407714304f20b5a65f87a10bf74 /contrib/persistent-https/socket.go | |
| parent | combine-diff: move changed-paths scanning logic into its own function (diff) | |
| download | git-e197c2b650316f62e6dfee4fadcb4198a03b8325.tar.gz git-e197c2b650316f62e6dfee4fadcb4198a03b8325.zip | |
tree-diff: no need to manually verify that there is no mode change for a path
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.
The code I'm removing here is from 2005 April 262e82b4 (Fix diff-tree
recursion), which pre-dates base_name_compare() introduction in 958ba6c9
(Introduce "base_name_compare()" helper function) by a month.
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/socket.go')
0 files changed, 0 insertions, 0 deletions
