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 Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/diffcmd.c.

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