Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Untracked files: (not shown) #595

Closed
achikin opened this issue May 18, 2017 · 7 comments
Closed

Untracked files: (not shown) #595

achikin opened this issue May 18, 2017 · 7 comments

Comments

@achikin
Copy link

achikin commented May 18, 2017

I think I pressed something unexpected, or maybe it's the result of an update, but now I can't see untracked files in tig, instead it shows this:

Untracked files:
  (not shown)

How can I set up tig so it shows untracked files again?

@achikin
Copy link
Author

achikin commented May 18, 2017

I do remember that tig warned me about some parameter name change in some file like
status-untracked-dirs should be renamed, but I can't find the exact option name.

@achikin
Copy link
Author

achikin commented May 18, 2017

Reading through the source code I've found out that you've also added set status-show-untracked-files = yes config variable, which was missing in my tigrc. Untracked files are back as soon as I've added it to my tigrc.

@achikin achikin closed this as completed May 18, 2017
@jonas
Copy link
Owner

jonas commented May 25, 2017

Thanks for confirming.

@nemoDreamer
Copy link

@jonas Wouldn't yes be the default if it's not in our ~/.tigrc?

@jonas
Copy link
Owner

jonas commented Jul 26, 2017

@nemoDreamer Yes, it would be the default. The problem is that Tig won't read the internal defaults when a system tigrc exists. This permits full control of what options are read but breaks if a distribution doesn't update the system tigrc, which was the case for Homebrew.

@nemoDreamer
Copy link

Ah, makes sense, thanks!!
I guess I could pull down the system tigrc from this repo and overwrite mine. Shame Homebrew doesn't do that 😭

@jonas
Copy link
Owner

jonas commented Jul 26, 2017

My advice is to remove the system tigrc (/usr/local/etc/tigrc) so Tig uses the internal one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants