gitforgefs/git
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
..
client.go Check if git support --initial-branch before attempting to use it on init 2024-08-14 22:03:28 -04:00
clone.go Check if git support --initial-branch before attempting to use it on init 2024-08-14 22:03:28 -04:00
pull.go entirely skip passing the --depth argument to git if the depth is configured to 0 2024-08-14 22:03:28 -04:00