Gittyup icon indicating copy to clipboard operation
Gittyup copied to clipboard

It doesn't show shallow repo's commits

Open wicast opened this issue 3 years ago • 5 comments

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 avatar Nov 29 '21 06:11 wicast

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

wicast avatar Nov 30 '21 05:11 wicast

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

Murmele avatar Jan 25 '22 10:01 Murmele

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.

wicast avatar Jan 25 '22 12:01 wicast

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

moolight-seashell avatar Mar 03 '23 10:03 moolight-seashell

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

wickles avatar Oct 30 '23 18:10 wickles