1import { gitShaDisplayLen } from '../sharedF/gitShaDisplayLenF.mjs'3export const gitOverIpfsComment = "# yes we're doing git (readonly) over ipfs :)"5export const gitRevParseLine = (sha, {ipfsNote = true} = {}) =>6 `git rev-parse HEAD | head -c ${gitShaDisplayLen} # should eq ${sha}${ipfsNote ? `.${gitOverIpfsComment.slice(1)}` : ''}`