Fossil SCM
Cosmetic fix for "/file?name=xxxx" where ci defaults to "tip". Title used to be "xxxx at []"; now it is "xxxx at tip" which matches the behaviour of "/file?name=xxxx&ci=tip".
Commit
551676bc2882f788f2bc52135b53f76b2ce8598e9c1ced7b4566c642ff027d6b
Parent
2c9aa1b9391fa8c…
1 file changed
+1
+1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -2239,10 +2239,11 @@ | ||
| 2239 | 2239 | |
| 2240 | 2240 | asText = P("txt")!=0; |
| 2241 | 2241 | if( isFile ){ |
| 2242 | 2242 | if( zCI==0 || fossil_strcmp(zCI,"tip")==0 ){ |
| 2243 | 2243 | zCI = "tip"; |
| 2244 | + isSymbolicCI = 1; /* Mark default-to-"tip" as symbolic */ | |
| 2244 | 2245 | @ <h2>File %z(href("%R/finfo?name=%T&m=tip",zName))%h(zName)</a> |
| 2245 | 2246 | @ from the %z(href("%R/info/tip"))latest check-in</a></h2> |
| 2246 | 2247 | }else{ |
| 2247 | 2248 | const char *zPath; |
| 2248 | 2249 | Blob path; |
| 2249 | 2250 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2239,10 +2239,11 @@ | |
| 2239 | |
| 2240 | asText = P("txt")!=0; |
| 2241 | if( isFile ){ |
| 2242 | if( zCI==0 || fossil_strcmp(zCI,"tip")==0 ){ |
| 2243 | zCI = "tip"; |
| 2244 | @ <h2>File %z(href("%R/finfo?name=%T&m=tip",zName))%h(zName)</a> |
| 2245 | @ from the %z(href("%R/info/tip"))latest check-in</a></h2> |
| 2246 | }else{ |
| 2247 | const char *zPath; |
| 2248 | Blob path; |
| 2249 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2239,10 +2239,11 @@ | |
| 2239 | |
| 2240 | asText = P("txt")!=0; |
| 2241 | if( isFile ){ |
| 2242 | if( zCI==0 || fossil_strcmp(zCI,"tip")==0 ){ |
| 2243 | zCI = "tip"; |
| 2244 | isSymbolicCI = 1; /* Mark default-to-"tip" as symbolic */ |
| 2245 | @ <h2>File %z(href("%R/finfo?name=%T&m=tip",zName))%h(zName)</a> |
| 2246 | @ from the %z(href("%R/info/tip"))latest check-in</a></h2> |
| 2247 | }else{ |
| 2248 | const char *zPath; |
| 2249 | Blob path; |
| 2250 |