Fossil

Check-in [9a993896]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:The 'diff' command operates on files within the repository; therefore, it should use the directory symlinks.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dirSymlinks
Files: files | file ages | folders
SHA1:9a9938968088ed169c907b56cd5806fd3f9e9d62
User & Date: mistachkin 2016-10-01 03:38:13
Context
2016-10-01
03:39
Merge updates from trunk. check-in: 3e4eba78 user: mistachkin tags: dirSymlinks
03:38
The 'diff' command operates on files within the repository; therefore, it should use the directory symlinks. check-in: 9a993896 user: mistachkin tags: dirSymlinks
2016-09-30
23:47
Start of experimental changes to support directory symlinks. check-in: d6debf63 user: mistachkin tags: dirSymlinks
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/diffcmd.c.

920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
                      diffFlags, pFileDir);
  }
  if( pFileDir ){
    int i;
    for(i=0; pFileDir[i].zName; i++){
      if( pFileDir[i].nUsed==0
       && strcmp(pFileDir[0].zName,".")!=0
       && !file_isdir(g.argv[i+2])
      ){
        fossil_fatal("not found: '%s'", g.argv[i+2]);
      }
      fossil_free(pFileDir[i].zName);
    }
    fossil_free(pFileDir);
  }







|







920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
                      diffFlags, pFileDir);
  }
  if( pFileDir ){
    int i;
    for(i=0; pFileDir[i].zName; i++){
      if( pFileDir[i].nUsed==0
       && strcmp(pFileDir[0].zName,".")!=0
       && !file_wd_isdir(g.argv[i+2])
      ){
        fossil_fatal("not found: '%s'", g.argv[i+2]);
      }
      fossil_free(pFileDir[i].zName);
    }
    fossil_free(pFileDir);
  }