Fossil SCM
Fix the page title for the /file method without a ci= query parameter.
Commit
cf72fc18e74ac41c2a9f2878c86aef2994dd4a941988256e52b0d08a9761253f
Parent
75668f4895f0afe…
1 file changed
+1
-1
+1
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -2398,11 +2398,11 @@ | ||
| 2398 | 2398 | } |
| 2399 | 2399 | |
| 2400 | 2400 | if( isFile ){ |
| 2401 | 2401 | if( isSymbolicCI ){ |
| 2402 | 2402 | zHeader = mprintf("%s at %s", file_tail(zName), zCI); |
| 2403 | - }else if( zCI ){ | |
| 2403 | + }else if( zCIUuid && zCIUuid[0] ){ | |
| 2404 | 2404 | zHeader = mprintf("%s at [%S]", file_tail(zName), zCIUuid); |
| 2405 | 2405 | }else{ |
| 2406 | 2406 | zHeader = mprintf("%s", file_tail(zName)); |
| 2407 | 2407 | } |
| 2408 | 2408 | }else if( descOnly ){ |
| 2409 | 2409 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2398,11 +2398,11 @@ | |
| 2398 | } |
| 2399 | |
| 2400 | if( isFile ){ |
| 2401 | if( isSymbolicCI ){ |
| 2402 | zHeader = mprintf("%s at %s", file_tail(zName), zCI); |
| 2403 | }else if( zCI ){ |
| 2404 | zHeader = mprintf("%s at [%S]", file_tail(zName), zCIUuid); |
| 2405 | }else{ |
| 2406 | zHeader = mprintf("%s", file_tail(zName)); |
| 2407 | } |
| 2408 | }else if( descOnly ){ |
| 2409 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2398,11 +2398,11 @@ | |
| 2398 | } |
| 2399 | |
| 2400 | if( isFile ){ |
| 2401 | if( isSymbolicCI ){ |
| 2402 | zHeader = mprintf("%s at %s", file_tail(zName), zCI); |
| 2403 | }else if( zCIUuid && zCIUuid[0] ){ |
| 2404 | zHeader = mprintf("%s at [%S]", file_tail(zName), zCIUuid); |
| 2405 | }else{ |
| 2406 | zHeader = mprintf("%s", file_tail(zName)); |
| 2407 | } |
| 2408 | }else if( descOnly ){ |
| 2409 |