Fossil SCM

Bring some comments in the "blame" logic up-to-date. No changes to code.

drh 2015-12-13 01:26 trunk
Commit 05f73ffb87e405db9b4fdc9f10548982356c048b
1 file changed +2 -5
+2 -5
--- src/diff.c
+++ src/diff.c
@@ -2088,13 +2088,11 @@
20882088
}
20892089
20902090
/*
20912091
** The input pParent is the next most recent ancestor of the file
20922092
** being annotated. Do another step of the annotation. Return true
2093
-** if additional annotation is required. zPName is the tag to insert
2094
-** on each line of the file being annotated that was contributed by
2095
-** pParent. Memory to hold zPName is leaked.
2093
+** if additional annotation is required.
20962094
*/
20972095
static int annotation_step(Annotator *p, Blob *pParent, int iVers, u64 diffFlags){
20982096
int i, j;
20992097
int lnTo;
21002098
@@ -2141,12 +2139,11 @@
21412139
#define ANN_FILE_VERS (((u64)0x20)<<32) /* Show file vers rather than commit vers */
21422140
#define ANN_FILE_ANCEST (((u64)0x40)<<32) /* Prefer check-ins in the ANCESTOR table */
21432141
21442142
/*
21452143
** Compute a complete annotation on a file. The file is identified
2146
-** by its filename number (filename.fnid) and the baseline in which
2147
-** it was checked in (mlink.mid).
2144
+** by its filename number (filename.fnid) and check-in (mlink.mid).
21482145
*/
21492146
static void annotate_file(
21502147
Annotator *p, /* The annotator */
21512148
int fnid, /* The name of the file to be annotated */
21522149
int mid, /* Use the version of the file in this check-in */
21532150
--- src/diff.c
+++ src/diff.c
@@ -2088,13 +2088,11 @@
2088 }
2089
2090 /*
2091 ** The input pParent is the next most recent ancestor of the file
2092 ** being annotated. Do another step of the annotation. Return true
2093 ** if additional annotation is required. zPName is the tag to insert
2094 ** on each line of the file being annotated that was contributed by
2095 ** pParent. Memory to hold zPName is leaked.
2096 */
2097 static int annotation_step(Annotator *p, Blob *pParent, int iVers, u64 diffFlags){
2098 int i, j;
2099 int lnTo;
2100
@@ -2141,12 +2139,11 @@
2141 #define ANN_FILE_VERS (((u64)0x20)<<32) /* Show file vers rather than commit vers */
2142 #define ANN_FILE_ANCEST (((u64)0x40)<<32) /* Prefer check-ins in the ANCESTOR table */
2143
2144 /*
2145 ** Compute a complete annotation on a file. The file is identified
2146 ** by its filename number (filename.fnid) and the baseline in which
2147 ** it was checked in (mlink.mid).
2148 */
2149 static void annotate_file(
2150 Annotator *p, /* The annotator */
2151 int fnid, /* The name of the file to be annotated */
2152 int mid, /* Use the version of the file in this check-in */
2153
--- src/diff.c
+++ src/diff.c
@@ -2088,13 +2088,11 @@
2088 }
2089
2090 /*
2091 ** The input pParent is the next most recent ancestor of the file
2092 ** being annotated. Do another step of the annotation. Return true
2093 ** if additional annotation is required.
 
 
2094 */
2095 static int annotation_step(Annotator *p, Blob *pParent, int iVers, u64 diffFlags){
2096 int i, j;
2097 int lnTo;
2098
@@ -2141,12 +2139,11 @@
2139 #define ANN_FILE_VERS (((u64)0x20)<<32) /* Show file vers rather than commit vers */
2140 #define ANN_FILE_ANCEST (((u64)0x40)<<32) /* Prefer check-ins in the ANCESTOR table */
2141
2142 /*
2143 ** Compute a complete annotation on a file. The file is identified
2144 ** by its filename number (filename.fnid) and check-in (mlink.mid).
 
2145 */
2146 static void annotate_file(
2147 Annotator *p, /* The annotator */
2148 int fnid, /* The name of the file to be annotated */
2149 int mid, /* Use the version of the file in this check-in */
2150

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button