Massaki Archambault
8e350a7dac
switch to slog for logging
2024-06-06 01:51:34 -04:00
Massaki Archambault
0ece3f05a3
Check if git support --initial-branch before attempting to use it on init
...
`git init --initial-branch` was only added in git
version 0.28.0. We parse the git version and
check if the argument is supported before using it
Fixes #8
2024-05-07 23:58:14 -04:00
Massaki Archambault
324be5f1f6
entirely skip passing the --depth argument to git if the depth is configured to 0
...
fixes #7
2024-05-07 23:33:02 -04:00
Massaki Archambault
cf77b16b23
refactor to decouple fstree package from git package
2024-05-05 19:53:04 -04:00
Massaki Archambault
d0bc974df1
fix race condition when multiple instance of git clone may get launched at the same time
2022-03-03 17:47:36 -05:00
Massaki Archambault
7fad1c2b43
remove -t argument from `git remote add` command. fix #5
2021-08-13 13:40:22 -04:00
Massaki Archambault
3c7ad94844
cleanup on_clone configuration option
2021-03-03 00:24:27 -05:00
Massaki Archambault
cd50e0fe26
replace go-git dependancy with plain git
2021-03-02 23:43:38 -05:00
Massaki Archambault
87bc3976b1
split clone and pull in their own worker
2020-12-30 21:18:18 -05:00