Murmele / Gittyup

Understand your Git history!
https://murmele.github.io/Gittyup
MIT License
1.55k stars 114 forks source link

It doesn't show shallow repo's commits #45

Open wicast opened 2 years ago

wicast commented 2 years ago

After clone with --depth n and open with Gittyup, there is no git commit log at all. The gitk or other tools can show the shallow repo correctly.

wicast commented 2 years ago

It seems https://github.com/libgit2/libgit2/issues/3058 is not supporting shallow, but gitui, which using libgit2, dose support shallow commit history list.

Murmele commented 2 years ago

I can confirm this. Is it often the usecase to not clone the complete repo?

wicast commented 2 years ago

I can confirm this. Is it often the usecase to not clone the complete repo?

It is quite useful when cloning a huge repo or having poor network. Rather common usecase for me.

moolight-seashell commented 1 year ago

It will be cool if we can have , on the clone window, on advanced, option to shallow clone ( with depth option )to blobless clone and to treeless clone

wickles commented 1 year ago

I can confirm this. Is it often the usecase to not clone the complete repo?

This is very common! See this search query with 139k results for example: https://github.com/search?q=%22git+clone+--depth%22&type=code