Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Halstrick2011-02-18 18:40:08 +0000
committerMatthias Sohn2011-02-21 00:11:05 +0000
commit4fae6385840a6f36a7e0d789daf4ff35f2b66059 (patch)
treec90d52dabb7553689930742f0f094237148c6771 /org.eclipse.egit.core.test/META-INF/MANIFEST.MF
parent55e21b6e7943b206b819be558f14b637db4658ea (diff)
downloadegit-4fae6385840a6f36a7e0d789daf4ff35f2b66059.tar.gz
egit-4fae6385840a6f36a7e0d789daf4ff35f2b66059.tar.xz
egit-4fae6385840a6f36a7e0d789daf4ff35f2b66059.zip
Fixed a problem when committing mode changes
When HEAD and index contained a regular file (a file with the executable bit not set) and in the working tree the associated file was modified to be an executable file then EGit had a bug while committing this mode change. In EGits commit operation the index was updated and the tree for the commit got prepared. The index was updated correctly but the tree to be commited always contained a regular file. After the Commit operation we had different entries for this file in index and HEAD. This commit fixes this by explicitly checking for executable-bit in the associated index-entry and setting the new TreeEntry accordingly. Bug: 307560 Change-Id: Id7f4a87326d32a7c4cdaa199005ee452178f2e7a Signed-off-by: Christian Halstrick <christian.halstrick@sap.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.core.test/META-INF/MANIFEST.MF')
0 files changed, 0 insertions, 0 deletions

Back to the top