diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2009-12-22 20:31:43 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2009-12-22 20:31:43 +0100 |
commit | 84f303c1ef88b863262262b1e3378cfd6a8a9864 (patch) | |
tree | d34bb8a037141f861d438df186deabc6df46c05b | |
parent | 71a3f0d5cf67d90ab500bf15fb92544369dd1c75 (diff) | |
download | patch-84f303c1ef88b863262262b1e3378cfd6a8a9864.tar.gz |
* src/pch.c (intuit_diff_type): Add some clarifying comments.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/pch.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -2,6 +2,8 @@ * src/version.c (copyright_string): Add year 2009. + * src/pch.c (intuit_diff_type): Add some clarifying comments. + 2009-11-14 Andreas Gruenbacher <agruen@suse.de> * update-version.sh: Platform compatibility fixes. @@ -638,6 +638,7 @@ intuit_diff_type (bool need_header) if (! posixly_correct) { + /* The best of all existing files. */ i = best_name (p_name, stat_errno); if (i == NONE && patch_get) @@ -706,6 +707,7 @@ intuit_diff_type (bool need_header) if (p_name[i]) distance_from_minimum[i] = newdirs[i] - newdirs_min; + /* The best of the filenames which create the fewest directories. */ i = best_name (p_name, distance_from_minimum); } } |