I found only that:
// in repo, in index, content diff => changed
// in index, in workdir, content differs => modified
But I can’t understand the difference?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
look at the javadoc for the getters in class IndexDiff:
these are the files which differ between the tree HEAD points at (the tip of your current branch in most cases) and the Git index
these are the files which differ between the files on disk (aka working tree) and the Git index