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

[directory] add an option to add a lendth to truncate_to_repo #5774

Open
c33s opened this issue Feb 14, 2024 · 0 comments · May be fixed by #5872
Open

[directory] add an option to add a lendth to truncate_to_repo #5774

c33s opened this issue Feb 14, 2024 · 0 comments · May be fixed by #5872
Labels
✨ enhancement A new feature implementation.

Comments

@c33s
Copy link

c33s commented Feb 14, 2024

Feature Request

Is your feature request related to a problem? Please describe.

currently there is only truncate_to_repo which truncates the directory name to the repo root directory. as i keep the repo of a project in a subfolder called src folder the information is no really helpful.

Describe the solution you'd like

i would love to see a setting which allows is not a boolean flag but an integer as the setting truncation_length.

truncate_repo_length = 2 would result in project_name/src where src would be the repo root. truncate_repo_length = 1 would be the same as truncate_to_repo

Describe alternatives you've considered

currently i set truncate_to_repo to false but the full path takes away a lot of space.

@c33s c33s added the ✨ enhancement A new feature implementation. label Feb 14, 2024
@Sberm Sberm linked a pull request Mar 23, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement A new feature implementation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant