Decodes one identity rev-parse run, such as --absolute-git-dir
inside the recorded path (owner ruling on the R2 residue of the B11a
review; focused re-review finding 1). Exit 0 decodes its stdout as
decodeRevParsePath does, into IdentityPrinted. A non-zero exit
whose last stderr line begins with git's no-repository diagnostic is
IdentityNoRepository, whatever lines come before it, such as Apple
Git's warnings about its temporary directory (follow-up review at
3b72efc, finding 1). Any other non-zero exit, such as an I/O error
reading the repository, is IdentityUnread. Both keep the exit code and
all of stderr. Fails only when a run that exited 0 printed something
other than one absolute path.
Decodes one identity
rev-parserun, such as--absolute-git-dirinside the recorded path (owner ruling on the R2 residue of the B11a review; focused re-review finding 1). Exit 0 decodes its stdout as decodeRevParsePath does, intoIdentityPrinted. A non-zero exit whose last stderr line begins with git's no-repository diagnostic isIdentityNoRepository, whatever lines come before it, such as Apple Git's warnings about its temporary directory (follow-up review at 3b72efc, finding 1). Any other non-zero exit, such as an I/O error reading the repository, isIdentityUnread. Both keep the exit code and all of stderr. Fails only when a run that exited 0 printed something other than one absolute path.