summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.server/src
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-12-07 19:05:07 -0800
committerShawn O. Pearce <spearce@spearce.org>2010-12-08 10:03:20 -0800
commitd4bbb2e4497335993f4d24f539111dc5d3f8bbcd (patch)
tree227b25ed6316d1bc2e13a35b1e55041ec4e767ce /org.eclipse.jgit.http.server/src
parente6c39227640536ac1c2e41d8970aeca84b3c6268 (diff)
downloadjgit-d4bbb2e4497335993f4d24f539111dc5d3f8bbcd.tar.gz
jgit-d4bbb2e4497335993f4d24f539111dc5d3f8bbcd.zip
IndexDiff: Clean up tree-index compare for staged files
When comparing the ObjectIds for two tree entries its faster to use the raw buffer compares over allocating ObjectIds and then performing equals on their contents. However, this also needs to consider the raw modes. It is possible for a path to change modes but not ObjectId (e.g. making a file executable), and in this case its still a staged change to report back to the caller. Change-Id: I1a267254c04b3273a97f63c71d1e6718cd9d2fa8 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit.http.server/src')
0 files changed, 0 insertions, 0 deletions