Fossil SCM
Restore original line placement for assignment purely for cleaner diff; introduces no functional change.
Commit
a481d230f5cb99511d93422eba45e8f87f3705493e30cdbae3741c77fcf6db9a
Parent
12ecd0ab38a94d4…
1 file changed
+1
-1
+1
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -2793,18 +2793,18 @@ | ||
| 2793 | 2793 | objdescFlags |= OBJDESC_DETAIL; |
| 2794 | 2794 | } |
| 2795 | 2795 | zUuid = db_text("?", "SELECT uuid FROM blob WHERE rid=%d", rid); |
| 2796 | 2796 | etag_check(ETAG_HASH, zUuid); |
| 2797 | 2797 | |
| 2798 | - asText = P("txt")!=0; | |
| 2799 | 2798 | if( descOnly && hashOnly ){ |
| 2800 | 2799 | blob_set(&uuid, zUuid); |
| 2801 | 2800 | cgi_set_content_type("text/plain"); |
| 2802 | 2801 | cgi_set_content(&uuid); |
| 2803 | 2802 | return; |
| 2804 | 2803 | } |
| 2805 | 2804 | |
| 2805 | + asText = P("txt")!=0; | |
| 2806 | 2806 | if( isFile ){ |
| 2807 | 2807 | if( zCI==0 || fossil_strcmp(zCI,"tip")==0 ){ |
| 2808 | 2808 | zCI = "tip"; |
| 2809 | 2809 | @ <h2>File %z(href("%R/finfo?name=%T&m&ci=tip",zName))%h(zName)</a> |
| 2810 | 2810 | @ from the %z(href("%R/info/tip"))latest check-in</a></h2> |
| 2811 | 2811 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2793,18 +2793,18 @@ | |
| 2793 | objdescFlags |= OBJDESC_DETAIL; |
| 2794 | } |
| 2795 | zUuid = db_text("?", "SELECT uuid FROM blob WHERE rid=%d", rid); |
| 2796 | etag_check(ETAG_HASH, zUuid); |
| 2797 | |
| 2798 | asText = P("txt")!=0; |
| 2799 | if( descOnly && hashOnly ){ |
| 2800 | blob_set(&uuid, zUuid); |
| 2801 | cgi_set_content_type("text/plain"); |
| 2802 | cgi_set_content(&uuid); |
| 2803 | return; |
| 2804 | } |
| 2805 | |
| 2806 | if( isFile ){ |
| 2807 | if( zCI==0 || fossil_strcmp(zCI,"tip")==0 ){ |
| 2808 | zCI = "tip"; |
| 2809 | @ <h2>File %z(href("%R/finfo?name=%T&m&ci=tip",zName))%h(zName)</a> |
| 2810 | @ from the %z(href("%R/info/tip"))latest check-in</a></h2> |
| 2811 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2793,18 +2793,18 @@ | |
| 2793 | objdescFlags |= OBJDESC_DETAIL; |
| 2794 | } |
| 2795 | zUuid = db_text("?", "SELECT uuid FROM blob WHERE rid=%d", rid); |
| 2796 | etag_check(ETAG_HASH, zUuid); |
| 2797 | |
| 2798 | if( descOnly && hashOnly ){ |
| 2799 | blob_set(&uuid, zUuid); |
| 2800 | cgi_set_content_type("text/plain"); |
| 2801 | cgi_set_content(&uuid); |
| 2802 | return; |
| 2803 | } |
| 2804 | |
| 2805 | asText = P("txt")!=0; |
| 2806 | if( isFile ){ |
| 2807 | if( zCI==0 || fossil_strcmp(zCI,"tip")==0 ){ |
| 2808 | zCI = "tip"; |
| 2809 | @ <h2>File %z(href("%R/finfo?name=%T&m&ci=tip",zName))%h(zName)</a> |
| 2810 | @ from the %z(href("%R/info/tip"))latest check-in</a></h2> |
| 2811 |