Nicolab / atom-local-history

Atom package for maintaining local history of files.
Other
77 stars 10 forks source link

mixture subdirectories in file view #35

Open ghost opened 9 years ago

ghost commented 9 years ago

The view mixture subdirectories files when they have the same name, in the image I have asked the history of root/index.php.

ss232

ghost commented 9 years ago

My knowledge of the atom environment are practically nil, but I wonder if it would be enough to replace in lib/utils.js:

  // list the directory (recursively) of the file
  list = fs.listTreeSync(path.join(
    this.getLocalHistoryPath(),
    pathDirName
  ));

by:

  list = fs.listSync(path.join(
    this.getLocalHistoryPath(),
    pathDirName
  ));
Nicolab commented 9 years ago

Why not, I look as soon as possible :)