public Status(IndexDiff diff) {super();this.diff = diff;hasUncommittedChanges = !diff.getAdded().isEmpty() || !diff.getChanged().isEmpty() || !diff.getRemoved().isEmpty() || !diff.getMissing().isEmpty() || !diff.getModified().isEmpty() || !diff.getConflicting().isEmpty();clean = !hasUncommittedChanges && diff.getUntracked().isEmpty();}

public Status ( IndexDiff diff ) { super ( ) ; this . diff = diff ; hasUncommittedChanges = ! diff . getAdded ( ) . isEmpty ( ) || ! diff . getChanged ( ) . isEmpty ( ) || ! diff . getRemoved ( ) . isEmpty ( ) || ! diff . getMissing ( ) . isEmpty ( ) || ! diff . getModified ( ) . isEmpty ( ) || ! diff . getConflicting ( ) . isEmpty ( ) ; clean = ! hasUncommittedChanges && diff . getUntracked ( ) . isEmpty ( ) ; }
public Status(IndexDiff diff) : base(){this.diff = diff;clean = diff.GetAdded().IsEmpty() && diff.GetChanged().IsEmpty() && diff.GetRemoved().IsEmpty() && diff.GetMissing().IsEmpty() && diff.GetModified().IsEmpty() && diff.GetUntracked().IsEmpty() && diff.GetConflicting().IsEmpty();}
