write_one_ref 313 transport.c if (write_one_ref(ref, &oid, 0, temp_dir)) { write_one_ref 366 transport.c if (for_each_ref(write_one_ref, &temp_dir))