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