Ok - I am creating a diff in Linux so that I can share my script modifications with the world...
When I create the diff, it looks perfect, except for a few lines that are prepended with ++ instead of + in my diff.
Does anyone know what the two plus signs indicate in a diff vs. the standard +?
Here's a snip of the resulting diff so you can see what I mean...I'm perplexed..
+ WHERE p.enabled=1 AND
+ p.view_state='$t_prv' AND
+ u.user_id IS NULL
+ ORDER BY p.name";
+ $result = db_query( $query );
+ $category_count = db_num_rows( $result );
+ for ($i=0;$i<$category_count;$i++) {
+ $row = db_fetch_array( $result );
++ $t_project_name = $row["name"];
++ $t_id = $row["id"];
++ PRINT "<option value=\"$t_id\">$t_project_name</option>";
++ }
++ }
++ # --------------------
++ # list of projects that a user is NOT in
++ function print_project_user_list( $p_user_id ) {
++ global $g_mantis_project_user_list_table, $g_mantis_project_table,
++ $s_remove_link, $g_manage_user_proj_delete;
++ |
Note how it goes from + to ++ in the middle of thepatch file...anybody wanna hazard a guess? I've not seen this before.