update_index() should refer to staged version if file changes
update_index() should refer to staged version if file changes
harrytruong/gitlet,harrytruong/gitlet,pysnow530/gitlet,maryrosecook/gitlet,maryrosecook/gitlet,pirafrank/gitlet,pirafrank/gitlet