Massaki Archambault
abf8507673
refactor config loader and add github config
2024-08-14 22:03:28 -04:00
Massaki Archambault
8c53ccea6a
switch to slog for logging
2024-08-14 22:03:28 -04:00
Massaki Archambault
e9670d59a1
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-08-14 22:03:28 -04:00
Massaki Archambault
38362eebdd
entirely skip passing the --depth argument to git if the depth is configured to 0
...
fixes #7
2024-08-14 22:03:28 -04:00
Massaki Archambault
735a803cdb
refactor to decouple fstree package from git package
2024-08-14 22:03:28 -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