Running on specific subdirectory
Thalley opened this issue · 2 comments
Thalley commented
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 commented
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 commented
Cool! That may not very clear for everyone though, so it could possibly still be a nice addition as an option, but thanks!