[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ranger-users] Visualize version control system information in range
From: |
Abdó Roig-Maranges |
Subject: |
Re: [Ranger-users] Visualize version control system information in ranger |
Date: |
Sun, 03 Mar 2013 18:22:35 +0100 |
User-agent: |
mu4e 0.9.9.5-dev6; emacs 24.2.1 |
Hi,
> One thing is strange, directories which are ignored also show √ sign instead
> of ·.
> Once I enter the directory, all files in it are shown as ignored.
>
> My ignore list is simply * for my dotfiles, and I add new files with git add
> -f ...
I sent a pull request on github fixing this, among other things.
I did not fix the particular problem you mention for the hg backend
though.
For git it was a matter of adding --directory flag to 'git
ls-files'. For hg, however, it seems that hg status only list
files. Then, in order to decide whether a directory is fully ignored or
it has non-ignored files which are in sync, I would have to make hg
status list all files (not only modified ones), potentially slowing
things down.
So I left it alone. If anyone annoyed by this has a better idea, feel free to
fix it :)
Abdó Roig-Maranges.