Branch: Tag:

2010-10-04

2010-10-04 20:33:30 by Martin Stjernholm <mast@lysator.liu.se>

Don't fail in check_ident on deleted files.

351:       int check_ident(string filename)    { -  if (find_expanded_ident(get_file(filename))) { +  if (find_expanded_ident(get_file(filename, 1))) {    write("File %s contains an expanded ident.\n", filename);    if(this_program == PreCommitHook) {    write("Try 'git reset %s; git add %s', "