Fossil SCM
Avoid initializing TH1 for running hooks when not strictly necessary.
Commit
211ddf891a17a7d261d41f0a20da5cdbe911a689
Parent
f96162b06b0addb…
1 file changed
-1
-1
| --- src/xfer.c | ||
| +++ src/xfer.c | ||
| @@ -881,11 +881,10 @@ | ||
| 881 | 881 | ** # ... code here |
| 882 | 882 | ** set common_done 1 |
| 883 | 883 | ** } |
| 884 | 884 | */ |
| 885 | 885 | int xfer_run_common_script(void){ |
| 886 | - Th_FossilInit(TH_INIT_DEFAULT); | |
| 887 | 886 | return xfer_run_script(xfer_common_code(), 0); |
| 888 | 887 | } |
| 889 | 888 | |
| 890 | 889 | /* |
| 891 | 890 | ** If this variable is set, disable login checks. Used for debugging |
| 892 | 891 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -881,11 +881,10 @@ | |
| 881 | ** # ... code here |
| 882 | ** set common_done 1 |
| 883 | ** } |
| 884 | */ |
| 885 | int xfer_run_common_script(void){ |
| 886 | Th_FossilInit(TH_INIT_DEFAULT); |
| 887 | return xfer_run_script(xfer_common_code(), 0); |
| 888 | } |
| 889 | |
| 890 | /* |
| 891 | ** If this variable is set, disable login checks. Used for debugging |
| 892 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -881,11 +881,10 @@ | |
| 881 | ** # ... code here |
| 882 | ** set common_done 1 |
| 883 | ** } |
| 884 | */ |
| 885 | int xfer_run_common_script(void){ |
| 886 | return xfer_run_script(xfer_common_code(), 0); |
| 887 | } |
| 888 | |
| 889 | /* |
| 890 | ** If this variable is set, disable login checks. Used for debugging |
| 891 |