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

Running on specific subdirectory #283

Open
Thalley opened this issue Mar 24, 2022 · 2 comments
Open

Running on specific subdirectory #283

Thalley opened this issue Mar 24, 2022 · 2 comments

Comments

@Thalley
Copy link

Thalley commented Mar 24, 2022

I couldn't find anything option to allow this, but it would be nice that if you have

directory

.git
-- subdir_1
-- subdir_2
---- subdir_2_1

You can specify a specific directory e.g. /subdir_2/subdir_2_1 to run gource on.

For large and long lasting projects, a user (like me) may be interested in only a subset of the git changes.

@mschilli87
Copy link

You should be able to do so by manually generating a gource-conform Git log for your directory of interest only and passing that to gource:

$(gource --log-command git) -- subdir_2/subdir_2_1 | gource --path - --log-format git

@Thalley
Copy link
Author

Thalley commented Mar 24, 2022

Cool! That may not very clear for everyone though, so it could possibly still be a nice addition as an option, but thanks!

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

2 participants