Development record
The away-mode Stop hook allows a stop silently when git does not answer for the repository's root commit. Resolve now returns ErrNoRootAnswer or ErrGitTimedOut (wrapped) instead of ErrNoRootCommit, and hook_stop.go returns nil on any Resolve error under a comment that says the folder is not a checkout abcd can key a store on. On a loaded machine where the rev-list is killed, an away session stops with nothing on stderr and nothing in the away record, though the hook's help says every allowed stop is explained. owedread.go drops the same error the same way, so recorded branches leave the stop check without a note.
The away-mode Stop hook allows a stop silently when git does not answer for the repository's root commit. Resolve now returns ErrNoRootAnswer or ErrGitTimedOut (wrapped) instead of ErrNoRootCommit, and hook_stop.go returns nil on any Resolve error under a comment that says the folder is not a checkout abcd can key a store on. On a loaded machine where the rev-list is killed, an away session stops with nothing on stderr and nothing in the away record, though the hook's help says every allowed stop is explained. owedread.go drops the same error the same way, so recorded branches leave the stop check without a note.
Frontmatter
| id | iss-2610222021318139 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2610222021318139-the-away-mode-stop-hook-allows-a-stop.md
open on GitHub ↗ · commit history ↗