In the file system, the project is divided into folders.

How do I know if there have been changes in the folder for a certain period?

How to do it in the program TreeSource?

  • I don’t know how in TreeSource, but if you use Tortoise Git, then in the context menu there is a show log item - there you can see the entire history of the repository, including filtering by time. - Lucky

1 answer 1

What kind of program TreeSource - I do not know. And all the good git stuff is done in the console. So, here is the team that will most likely do everything that is needed.

git diff --name-only master@{"10 day ago"} master -- папка/подпапка/ 

parsing in pieces.

 --name-only - выводить только имена master@{"10 day ago"} - с какого периода и ветки брать. Здесь есть разные варианты. можно sha хешем указать. master - в данном случае это просто текущее состояние. Но можно и здесь указать период. (пример ниже). -- (два дефиса) - это признак того, что параметры закончились. папка/подпапка/ - собственно, где смотреть в проекте 

One more example.

 git diff --name-only master@{"10 day ago"} master@{"5 day ago"} -- папка/подпапка/ 

select changes for a period of 10-5 days ago.

or so

 git diff --name-only master@{"1 week ago"} master@{"yesterday"} -- папка/ 

or even so

 git diff --name-only master@{"Wed Feb 16 14:00 2013 +0100"} master@{"yesterday"}