-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Add a flag to configure display or listing of untracked files in different viewing modes. Untracked files in a repo directory are listed as untracked but not dirty/modified, thus should be handled as a separate case. Use git.Repo.untracked_files as a bool.
TODO: include clean repos when -u specified (treat untracked as a form of dirty)
Q: how to display untracked files in the repo summary listing?
Option, expanding the (dirty) marker:
task-list (dirty,untracked) master
task-list (dirty,+u/t) master
task-list (dirty,u/t) master
task-list (dirty,TODO) master
task-list (dirty,loose) master
Adding untracked to the field requires pad spacing the outputs. What's a good short term/acronym for untracked?
Option, add trailing comment field:
task-list (dirty) master [+ untracked files]
task-list (dirty) master [inc untracked]
A trailing comment field is more generic, can expand with other repo info.