Repository navigation
Commit 3cbefe2
committed
fix(status): emit verbose git object when git context resolves
cbm_git_context_resolve returns 0 on success, but execute_status treated
its result as a boolean, so status --verbose only entered the git branch
when resolution failed (and then is_git was unset). The git object was
therefore never emitted. Compare against 0 like the other callers
(http_server.c, pipeline.c). Found while porting upstream DeusData#1561.1 parent 0dccc26 commit 3cbefe2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
| 754 | + | |
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
| |||
0 commit comments