Fossil SCM

Don't omit explanation of a sync operation if a proxy is being used. Because information about the proxy without information about the remote looks kinda awkward. <br> Note: A global variable <var>g.url.isAlias</var> (introduced at <code>src/url.c</code> by [f11c863d91]) is barely used; maybe it's worth to remove it.

george 2026-02-23 23:13 trunk
Commit 6c9d32ae6fa47f290cc822173071c632d3433285f9d45ca4a4bca0b0dcedca7d
1 file changed +1 -1
+1 -1
--- src/sync.c
+++ src/sync.c
@@ -23,11 +23,11 @@
2323
2424
/*
2525
** Explain what type of sync operation is about to occur
2626
*/
2727
static void sync_explain(unsigned syncFlags){
28
- if( g.url.isAlias && (syncFlags & SYNC_QUIET)==0 ){
28
+ if( (g.url.isAlias || g.url.useProxy) && (syncFlags & SYNC_QUIET)==0 ){
2929
const char *url;
3030
if( g.url.useProxy ){
3131
url = g.url.proxyUrlCanonical;
3232
}else{
3333
url = g.url.canonical;
3434
--- src/sync.c
+++ src/sync.c
@@ -23,11 +23,11 @@
23
24 /*
25 ** Explain what type of sync operation is about to occur
26 */
27 static void sync_explain(unsigned syncFlags){
28 if( g.url.isAlias && (syncFlags & SYNC_QUIET)==0 ){
29 const char *url;
30 if( g.url.useProxy ){
31 url = g.url.proxyUrlCanonical;
32 }else{
33 url = g.url.canonical;
34
--- src/sync.c
+++ src/sync.c
@@ -23,11 +23,11 @@
23
24 /*
25 ** Explain what type of sync operation is about to occur
26 */
27 static void sync_explain(unsigned syncFlags){
28 if( (g.url.isAlias || g.url.useProxy) && (syncFlags & SYNC_QUIET)==0 ){
29 const char *url;
30 if( g.url.useProxy ){
31 url = g.url.proxyUrlCanonical;
32 }else{
33 url = g.url.canonical;
34

Keyboard Shortcuts

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