It works because a build command is line oriented, but it's technically wrong to include "\n" in git_hash.
ed0b23d
Currently, the hash becomes colored if jj is used to get it at build time and the user configured `color="always"` in jj's config.
This changes the version number reported by `jj version` from "0.7.0" to something like "0.7.0-24a512683bc921699575b6a953624b05c068d544a". The hash is added if running in a jj repo or a git repo.