Fossil SCM

Remove forced setting of the 'allow-symlinks' cached setting from the 'clean' and 'extras' commands.

mistachkin 2017-02-13 20:31 UTC symlinks
Commit 957865107d8242b8761b4d930e31a3fb742ec3b3
1 file changed -4
--- src/checkin.c
+++ src/checkin.c
@@ -855,12 +855,10 @@
855855
856856
if( zIgnoreFlag==0 ){
857857
zIgnoreFlag = db_get("ignore-glob", 0);
858858
}
859859
pIgnore = glob_create(zIgnoreFlag);
860
- /* Always consider symlinks. */
861
- g.allowSymlinks = db_allow_symlinks_by_default();
862860
locate_unmanaged_files(g.argc-2, g.argv+2, scanFlags, pIgnore);
863861
glob_free(pIgnore);
864862
865863
blob_zero(&report);
866864
status_report(&report, flags);
@@ -1016,12 +1014,10 @@
10161014
verify_all_options();
10171015
pIgnore = glob_create(zIgnoreFlag);
10181016
pKeep = glob_create(zKeepFlag);
10191017
pClean = glob_create(zCleanFlag);
10201018
nRoot = (int)strlen(g.zLocalRoot);
1021
- /* Always consider symlinks. */
1022
- g.allowSymlinks = db_allow_symlinks_by_default();
10231019
if( !dirsOnlyFlag ){
10241020
Stmt q;
10251021
Blob repo;
10261022
if( !dryRunFlag && !disableUndo ) undo_begin();
10271023
locate_unmanaged_files(g.argc-2, g.argv+2, scanFlags, pIgnore);
10281024
--- src/checkin.c
+++ src/checkin.c
@@ -855,12 +855,10 @@
855
856 if( zIgnoreFlag==0 ){
857 zIgnoreFlag = db_get("ignore-glob", 0);
858 }
859 pIgnore = glob_create(zIgnoreFlag);
860 /* Always consider symlinks. */
861 g.allowSymlinks = db_allow_symlinks_by_default();
862 locate_unmanaged_files(g.argc-2, g.argv+2, scanFlags, pIgnore);
863 glob_free(pIgnore);
864
865 blob_zero(&report);
866 status_report(&report, flags);
@@ -1016,12 +1014,10 @@
1016 verify_all_options();
1017 pIgnore = glob_create(zIgnoreFlag);
1018 pKeep = glob_create(zKeepFlag);
1019 pClean = glob_create(zCleanFlag);
1020 nRoot = (int)strlen(g.zLocalRoot);
1021 /* Always consider symlinks. */
1022 g.allowSymlinks = db_allow_symlinks_by_default();
1023 if( !dirsOnlyFlag ){
1024 Stmt q;
1025 Blob repo;
1026 if( !dryRunFlag && !disableUndo ) undo_begin();
1027 locate_unmanaged_files(g.argc-2, g.argv+2, scanFlags, pIgnore);
1028
--- src/checkin.c
+++ src/checkin.c
@@ -855,12 +855,10 @@
855
856 if( zIgnoreFlag==0 ){
857 zIgnoreFlag = db_get("ignore-glob", 0);
858 }
859 pIgnore = glob_create(zIgnoreFlag);
 
 
860 locate_unmanaged_files(g.argc-2, g.argv+2, scanFlags, pIgnore);
861 glob_free(pIgnore);
862
863 blob_zero(&report);
864 status_report(&report, flags);
@@ -1016,12 +1014,10 @@
1014 verify_all_options();
1015 pIgnore = glob_create(zIgnoreFlag);
1016 pKeep = glob_create(zKeepFlag);
1017 pClean = glob_create(zCleanFlag);
1018 nRoot = (int)strlen(g.zLocalRoot);
 
 
1019 if( !dirsOnlyFlag ){
1020 Stmt q;
1021 Blob repo;
1022 if( !dryRunFlag && !disableUndo ) undo_begin();
1023 locate_unmanaged_files(g.argc-2, g.argv+2, scanFlags, pIgnore);
1024

Keyboard Shortcuts

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