Fossil SCM

Avoid initializing TH1 for running hooks when not strictly necessary.

mistachkin 2014-01-09 20:20 trunk
Commit e252c944e02141283af6b106ec2e35e06adc72ab
1 file changed -1
-1
--- src/xfer.c
+++ src/xfer.c
@@ -881,11 +881,10 @@
881881
** # ... code here
882882
** set common_done 1
883883
** }
884884
*/
885885
int xfer_run_common_script(void){
886
- Th_FossilInit(TH_INIT_DEFAULT);
887886
return xfer_run_script(xfer_common_code(), 0);
888887
}
889888
890889
/*
891890
** If this variable is set, disable login checks. Used for debugging
892891
--- 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

Keyboard Shortcuts

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