aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/protocol/packp/uppackreq_test.go
diff options
context:
space:
mode:
authorAlberto Cortés <alberto@sourced.tech>2017-03-01 18:09:18 +0100
committerAlberto Cortés <alberto@sourced.tech>2017-03-03 16:19:20 +0100
commitb3aa41afcca829cfb3e2e71be052078152497b3c (patch)
treeee25a6cd5a310a2b50a7dcb74fe4275252c8298e /plumbing/protocol/packp/uppackreq_test.go
parent047a795df6d5a0d5dd0782297cea918e4a4a6e10 (diff)
downloadgo-git-b3aa41afcca829cfb3e2e71be052078152497b3c.tar.gz
difftree: simplify hash comparison with deprecated files modes
Difftree hash comparisson was quite complex because the hashes of deprecated files were diferent from the hashes of regular files. But git's difftree really treat them as equal. This patch fix this by making treenoder return the same hash for regular files than for deprecated files; now the hash comparison function is just a bytes.Equal call.
Diffstat (limited to 'plumbing/protocol/packp/uppackreq_test.go')
0 files changed, 0 insertions, 0 deletions