public static boolean isMagic(String path){
  return COMMIT_MSG.equals(path) || MERGE_LIST.equals(path);
}

public static boolean isMagic ( String path ) { return COMMIT_MSG . equals ( path ) || MERGE_LIST . equals ( path ) ; }
checks if the given path represents a magic file . a magic file is a generated file that is automatically included into changes . it does not exist in the commit of the patch set .
