basepi / libgit2

The Library
http://libgit2.github.com
Other
0 stars 0 forks source link

patience: insert_record possible improvements #27

Open trane opened 13 years ago

trane commented 13 years ago
    while (map->entries[index].line1) {
        /*
         * Set other to the record corresponding to the line we are on
         * This seems to be comparing file1 to file1 at times
         * If we are on pass = 1, then diff_record will be equal to
         * data_ctx1->recs[line-1], which other gets set to here
         * TODO: see if this can be bypassed once
         */
        other = map->env->data_ctx1.recs[map->entries[index].line1 - 1];