samber / git-contrib-graph

📊 Displays a github-like contribution graph, of every contributors of a repository
10 stars 11 forks source link

Clone to a local filesystem (tmp), instead of memory #8

Closed clickyotomy closed 5 years ago

clickyotomy commented 5 years ago

Possible fix for https://github.com/samber/git-contrib-graph/issues/5.

clickyotomy commented 5 years ago

Thank you, @samber! :) I have made a change to add a prefix for TempDir function. During runtime, it would clone the repo into a temporary directory, such as this:

$ ./git-contrib-graph --git-remote https://github.com/samber/invoice-as-a-service --full-graph --interval month
/var/folders/pt/n0_dbhkj33x_rd_p1nt4s23w0000gn/T/invoice-as-a-service110657057

Would that be OK?

samber commented 5 years ago

The split is great !

Let's merge that 👍