Gource icon indicating copy to clipboard operation
Gource copied to clipboard

Support bare git repositories

Open wertercatt opened this issue 5 years ago • 4 comments

Raw git repositories are created by using git clone --mirror, and are preferable to normal git clones in my opinion because they include all pull requests and branches.

They're basically just the .git folder of a normal git clone, but as its own folder.

wertercatt avatar Mar 20 '19 01:03 wertercatt

I also face that issue. In my case I wanted to use bare repositories (cloned with --bare) to save file space by avoiding the files being extracted. I can clone with --no-checkout but it would be cleaner to support those bare repositories.

I'm getting this message when trying to run gource on a bare repository:

gource: directory not supported

illwieckz avatar Jul 06 '19 16:07 illwieckz

Did anyone find a solution to this?

haakonstorm avatar Feb 08 '21 14:02 haakonstorm

No solution but a hacky workaround is to just clone the repo somewhere else and use gource on that.

adastx avatar May 17 '22 14:05 adastx

@wertercatt : your last sentence brought us to the idea to use it like this:

mkdir project-name
git clone --bare <URL> project-name/.git
gource project-name

seems to work :)

colpari avatar Nov 30 '23 16:11 colpari