Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Attempts to add files outside the open checkout tree result in fatal error. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | pending-review |
| Files: | files | file ages | folders |
| SHA1: |
f0de41fd5ed81cf91953e30fe5ca9e05 |
| User & Date: | andybradford 2014-01-09 05:56:05.164 |
Context
|
2014-01-09
| ||
| 13:17 | Add comments to better explain what it happening for the out-of-tree check in the "add" command. ... (Closed-Leaf check-in: d83fc58dea user: drh tags: pending-review) | |
| 05:56 | Attempts to add files outside the open checkout tree result in fatal error. ... (check-in: f0de41fd5e user: andybradford tags: pending-review) | |
|
2014-01-08
| ||
| 11:38 | Merge the checkout_on_root_fix. ... (check-in: cbcd7056b6 user: drh tags: trunk) | |
Changes
Changes to src/add.c.
| ︙ | ︙ | |||
269 270 271 272 273 274 275 276 277 278 279 280 281 282 |
/* Load the names of all files that are to be added into sfile temp table */
for(i=2; i<g.argc; i++){
char *zName;
int isDir;
Blob fullName;
file_canonical_name(g.argv[i], &fullName, 0);
zName = blob_str(&fullName);
isDir = file_wd_isdir(zName);
if( isDir==1 ){
vfile_scan(&fullName, nRoot-1, scanFlags, pClean, pIgnore);
}else if( isDir==0 ){
fossil_warning("not found: %s", zName);
| > > | 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
/* Load the names of all files that are to be added into sfile temp table */
for(i=2; i<g.argc; i++){
char *zName;
int isDir;
Blob fullName;
file_tree_name(g.argv[i], &fullName, 1);
blob_reset(&fullName);
file_canonical_name(g.argv[i], &fullName, 0);
zName = blob_str(&fullName);
isDir = file_wd_isdir(zName);
if( isDir==1 ){
vfile_scan(&fullName, nRoot-1, scanFlags, pClean, pIgnore);
}else if( isDir==0 ){
fossil_warning("not found: %s", zName);
|
| ︙ | ︙ |