]> source.dussan.org Git - jgit.git/commit
Refactor and comment complicated if statements 42/2342/1
authorChristian Halstrick <christian.halstrick@sap.com>
Wed, 12 Jan 2011 13:25:30 +0000 (14:25 +0100)
committerChristian Halstrick <christian.halstrick@sap.com>
Wed, 26 Jan 2011 16:17:45 +0000 (17:17 +0100)
commit4cba86bfeaaadbac2d13aa8176965feb424d748c
tree423842197fec8049267bc72bb03e1154f79327ff
parent85f69c286b6c3225dcff05aba42910daefb28da0
Refactor and comment complicated if statements

When debugging and enhancing DirCacheCheckout.processEntry() I found
that some of if-statements where hard to read/understand. This
change just splits some long if statements and adds more comments
explaining in which state we are. This change is only a preparation
for followup commits which introduce checks for untracked+ignored
files.

Change-Id: I670ff08310b72c858709b9e395f0aebb4b290a56
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java