#!/bin/bash
read oldrev newrev ref
echo "$ref"
return
remote: : not found
remote: : not found
remote: : not found
remote: : bad variable name
nothing work even when put "export PATH=$PATH:/bin/...etc"
#!/bin/bash
read oldrev newrev ref
echo "$ref"
return
remote: : not found
remote: : not found
remote: : not found
remote: : bad variable name
nothing work even when put "export PATH=$PATH:/bin/...etc"
seems to do the trick.
However, it seemed to me that it was not necessary because Debian buster had utf8 as a base. Apparently not. Git should not take basic bash parameters