Merge 1.5.5.3 in

This commit is contained in:
Junio C Hamano
2008-05-27 22:22:47 -07:00
7 changed files with 24 additions and 18 deletions

View File

@ -223,6 +223,8 @@ static char *prepare_index(int argc, const char **argv, const char *prefix)
if (interactive) {
interactive_add(argc, argv, prefix);
if (read_cache() < 0)
die("index file corrupt");
commit_style = COMMIT_AS_IS;
return get_index_file();
}