Fossil SCM

Restore original line placement for assignment purely for cleaner diff; introduces no functional change.

andybradford 2025-03-25 01:51 whatis-hashonly
Commit a481d230f5cb99511d93422eba45e8f87f3705493e30cdbae3741c77fcf6db9a
1 file changed +1 -1
+1 -1
--- src/info.c
+++ src/info.c
@@ -2793,18 +2793,18 @@
27932793
objdescFlags |= OBJDESC_DETAIL;
27942794
}
27952795
zUuid = db_text("?", "SELECT uuid FROM blob WHERE rid=%d", rid);
27962796
etag_check(ETAG_HASH, zUuid);
27972797
2798
- asText = P("txt")!=0;
27992798
if( descOnly && hashOnly ){
28002799
blob_set(&uuid, zUuid);
28012800
cgi_set_content_type("text/plain");
28022801
cgi_set_content(&uuid);
28032802
return;
28042803
}
28052804
2805
+ asText = P("txt")!=0;
28062806
if( isFile ){
28072807
if( zCI==0 || fossil_strcmp(zCI,"tip")==0 ){
28082808
zCI = "tip";
28092809
@ <h2>File %z(href("%R/finfo?name=%T&m&ci=tip",zName))%h(zName)</a>
28102810
@ from the %z(href("%R/info/tip"))latest check-in</a></h2>
28112811
--- 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

Keyboard Shortcuts

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